documentationfor yFiles for HTML 3.0.0.3

Properties

layersin HierarchicalLayoutContextGets a list of the active HierarchicalLayoutLayers for the HierarchicalLayoutCore, basically describing the assignment of nodes to layers and their position in the layer.

Method Return Values

insertLayer (HierarchicalLayoutLayerType, number)in HierarchicalLayoutContextCreates and inserts a layer of a given type into the list of layers.
insertGroupConnectorLayer (boolean, number)in ItemFactoryInserts a layer for proxies at groups to handle direct group content connector edges between a node in the first/last layer of the group node and the group's border.
insertLabelNodeLayer (boolean, number)in ItemFactoryInserts a layer for labels.

Method Parameters

getMinimumDistance (LayoutGraph, HierarchicalLayoutLayer, LayoutNode, LayoutNode)in CoordinateAssignerSpecifies the minimum allowed distance between two nodes of the same given layer.
getMinimumLayerHeight (LayoutGraph, HierarchicalLayoutContext, HierarchicalLayoutLayer)in CoordinateAssignerReturns the minimum height of a given layer.
getMinimumDistance (LayoutGraph, HierarchicalLayoutLayer, HierarchicalLayoutContext, LayoutNode, LayoutNode)in DrawingDistanceCalculatorDetermines the minimum distance between two LayoutNodes of the same layer.
getMinimumDistance (LayoutGraph, HierarchicalLayoutLayer, HierarchicalLayoutContext, LayoutNode, LayoutNode)in IDrawingDistanceCalculatorMain interface method called by ICoordinateAssigner instances to determine the minimum distance between LayoutNodes of the same layer.
createBendNode (LayoutEdge, HierarchicalLayoutLayer?, LayoutGridColumn?, boolean?)in ItemFactoryCreates a bend LayoutNode for the given LayoutEdge in the given layer and assigns it to the given LayoutGridColumn.
createConnectorProxyForGroup (LayoutNode, HierarchicalLayoutLayer, LayoutEdge, boolean?)in ItemFactoryCreates a helper LayoutNode that mimics a connector to a group LayoutNode.
createEdgeGroupNode (HierarchicalLayoutLayer, any)in ItemFactoryCreates an edge group helper node in the given layer that will be of type SOURCE_GROUP_NODE or TARGET_GROUP_NODE, depending on the type of the given layer.
createGroupBorderNode (LayoutNode, HierarchicalLayoutLayer, HierarchicalLayoutNodeType)in ItemFactoryCreates a group boundary node of type for a group node in the given layer.
createSameLayerProxyEdge (HierarchicalLayoutLayer, LayoutEdge, LayoutNode)in ItemFactoryCreates a same-layer edge proxy connecting a newly created proxy node and a given proxy LayoutNode in the given layer.
createSameLayerSideProxy (HierarchicalLayoutLayer, LayoutNode, LayoutEdge, LayoutGridColumn?)in ItemFactoryCreates a side proxy node (SAME_LAYER_SIDE_PROXY) for a same-layer edge during the drawing phase that ends at the side of a node.
createSameLayerSwitchProxy (HierarchicalLayoutLayer, LayoutEdge)in ItemFactoryCreates a same-layer switch proxy LayoutNode (switching between two same-layer LayoutEdges on two different sides of the layer); the new node will be of type SAME_LAYER_CENTER_NODE.
destroyGroupConnectorLayer (HierarchicalLayoutLayer)in ItemFactoryRemoves the given layer for proxies at groups to handle direct group content connector edges between a node in the first/last layer of the group node and the group's border.
destroyLabelNodeLayer (HierarchicalLayoutLayer)in ItemFactoryDestroys a previously created label layer