documentationfor yFiles for HTML 3.0.0.3

Method Parameters

assignLayers (LayoutGraph, HierarchicalLayoutContext)in AspectRatioComponentLayerAssignerAssigns all nodes of the graph to layers and registers them to the layers in the given layoutContext based on the given aspect ratio.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in BfsLayerAssignerAssigns all nodes of the graph to layers and adds them to the layers instance in the given layoutContext.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in ConstraintIncrementalLayerAssignerAssigns all nodes of the graph to layers and adds them to the layers instance based on relative and absolute layering constraints defined by the given layering constraints.
assignLayerCoordinates (LayoutGraph, HierarchicalLayoutContext)in CoordinateAssigner
assignSequenceCoordinates (LayoutGraph, HierarchicalLayoutContext, IDrawingDistanceCalculator)in CoordinateAssigner
getMinimumLayerHeight (LayoutGraph, HierarchicalLayoutContext, HierarchicalLayoutLayer)in CoordinateAssignerReturns the minimum height of a given layer.
isFixedNode (LayoutGraph, HierarchicalLayoutContext, LayoutNode, boolean)in CoordinateAssignerReturns whether or not the given node should be treated as a node with fixed (given) coordinates, that is hint USE_EXACT_LAYER_COORDINATES, USE_EXACT_COORDINATES or USE_EXACT_SEQUENCE_COORDINATES.
getCrossingCost (LayoutEdge, LayoutEdge, HierarchicalLayoutContext)in DefaultSequencerReturns the cost of an edge crossing between the two given edges.
sequenceNodeLayers (LayoutGraph, HierarchicalLayoutContext)in DefaultSequencer
dispose (LayoutGraph, HierarchicalLayoutContext)in DrawingDistanceCalculator
getMinimumDistance (LayoutGraph, HierarchicalLayoutLayer, HierarchicalLayoutContext, LayoutNode, LayoutNode)in DrawingDistanceCalculatorDetermines the minimum distance between two LayoutNodes of the same layer.
initialize (LayoutGraph, HierarchicalLayoutContext)in DrawingDistanceCalculator
assignLayers (LayoutGraph, HierarchicalLayoutContext)in FromSketchLayerAssignerAssigns all nodes of the graph to layers by analyzing already existing node coordinates and adds them to the layers instance in the given layoutContext.
sequenceNodeLayers (LayoutGraph, HierarchicalLayoutContext)in FromSketchSequencerCalculates the sequence of the nodes within each layer using the nodes' coordinates.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in GivenLayersAssignerAssigns all nodes of the graph to layers and adds them to the layers instance in the given layoutContext.
sequenceNodeLayers (LayoutGraph, HierarchicalLayoutContext)in GivenSequenceSequencerCalculates the sequence of the nodes within the layers in the given layoutContext based on the specified sequenceComparator.
getOriginalEdge (LayoutEdge, HierarchicalLayoutContext)in HierarchicalLayoutReturns the corresponding original edge instance for a given edge.
createItemData (LayoutGraph, HierarchicalLayoutContext)in HierarchicalLayoutCoreCallback method that is called during applyLayoutCore that creates the HierarchicalLayoutNodeContext and HierarchicalLayoutEdgeContext instances for nodes and edges and binds them to the items using ItemFactory.
publishLayers (LayoutGraph, HierarchicalLayoutContext)in HierarchicalLayoutCoreCallback method that publishes the layering information.
publishSequences (LayoutGraph, HierarchicalLayoutContext)in HierarchicalLayoutCoreCallback method that publishes the sequencing information.
assignPorts (LayoutGraph, HierarchicalLayoutContext)in HierarchicalLayoutPortAssignerAssigns source and target port coordinates to each edge of the graph.
assignLayerCoordinates (LayoutGraph, HierarchicalLayoutContext)in ICoordinateAssignerAssigns preliminary y-coordinates for each layer of a hierarchical layout.
assignSequenceCoordinates (LayoutGraph, HierarchicalLayoutContext, IDrawingDistanceCalculator)in ICoordinateAssignerDetermines the resulting x-coordinates of a hierarchical layout.
dispose (LayoutGraph, HierarchicalLayoutContext)in IDrawingDistanceCalculatorDisposes of internal data structures.
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.
initialize (LayoutGraph, HierarchicalLayoutContext)in IDrawingDistanceCalculatorInitializes internal data structures.
assignPorts (LayoutGraph, HierarchicalLayoutContext)in IHierarchicalLayoutPortAssignerAssigns to each edge of the graph a source port and target port coordinate pair.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in ILayerAssignerAssigns all nodes of the graph to layers and adds them to the layers in the given layoutContext.
selectAfterLayering (LayoutGraph, HierarchicalLayoutContext)in IPortCandidateSelectorAssigns new selected port candidates after the layering information has been determined.
selectAfterSequencing (LayoutGraph, HierarchicalLayoutContext)in IPortCandidateSelectorAssigns new selected port candidates after the sequence of the nodes has been determined.
sequenceNodeLayers (LayoutGraph, HierarchicalLayoutContext)in ISequencerCalculates the sequence of the nodes within each layer of the layers list in the given layoutContext.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in MultiComponentLayerAssigner
merge (LayoutGraph, HierarchicalLayoutContext, HierarchicalLayoutContext)in MultiComponentLayerAssignerMerges the two layer lists contained in the two given HierarchicalLayoutContext instances.
insertSameLayerStructures (LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorInserts a same-layer edge structure for each same-layer edge of the original graph.
removeSameLayerStructures (PortCandidateSelectorSameLayerData, LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorRemoves the same-layer edge structure created using insertSameLayerStructures.
selectAfterLayering (LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelector
selectAfterSequencing (LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelector
selectAfterSequencingAtNode (LayoutNode, function(LayoutEdge, LayoutEdge):number, function(LayoutEdge, LayoutEdge):number, LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorAssigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been determined.
selectAfterSequencingWithOrders (function(LayoutEdge, LayoutEdge):number, function(LayoutEdge, LayoutEdge):number, LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorAssigns new temporary port constraints after the order of the nodes in each layer has been determined.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in TopologicalLayerAssignerAssigns all nodes of the graph to layers and adds them to the layers in the given layoutContext.
assignLayers (LayoutGraph, HierarchicalLayoutContext)in WeightedLayerAssignerAssigns all nodes of the graph to layers and adds them to the layers in the given layoutContext.