Optional ExperimentalclusterOptional function to group nodes into semantic clusters based on a custom identifier. Nodes returning the same string or number will be grouped together in the layout via dagre compound subgraphs. Nodes returning undefined will be treated as independent.
OptionaldirectionThe direction in which the layout should be oriented
OptionalpackingThe packing method to be used
The options for the hierarchical layout