documentationfor yFiles for HTML 2.6

Properties

nodeLayoutDescriptorin HierarchicLayoutGets or sets the HierarchicLayoutNodeLayoutDescriptor instance used for all those nodes that do not have a specific layout descriptor assigned.
nodeLayoutDescriptorsin HierarchicLayoutDataGets or sets the mapping of nodes to their HierarchicLayoutNodeLayoutDescriptor
nodeLayoutDescriptorin INodeDataGets the HierarchicLayoutNodeLayoutDescriptor instance initially bound to the YNode of this INodeData instance or null if no HierarchicLayoutNodeLayoutDescriptor has been registered.

Fields

NODE_LAYOUT_DESCRIPTOR_DP_KEYin HierarchicLayoutCoreA data provider key for providing layout information for each node.

Method Return Values

createNodeLayoutDescriptor ()in HierarchicLayoutReturns a new HierarchicLayoutNodeLayoutDescriptor instance that will be used during the various phases of the layout algorithm to determine the drawing details of the nodes of the graph.

Method Parameters

HierarchicLayout ()in HierarchicLayoutCreates a new HierarchicLayout instance with the default settings.
HierarchicLayoutData ()in HierarchicLayoutDataCreates a new instance of HierarchicLayoutData which helps configuring HierarchicLayout.