documentationfor yFiles for HTML 2.6

Method Parameters

assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in AsIsLayererAssigns all nodes of the graph to layers by analyzing already existing node coordinates and adds them to the ILayers instance.
sequenceNodeLayers (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in AsIsSequencerCalculates the sequence of the nodes within each layer using the nodes' coordinates.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in AspectRatioComponentLayererAssigns all nodes of the graph to layers and registers them to the ILayers instance based on the given aspect ratio.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in BFSLayererAssigns all nodes of the graph to layers and adds them to the ILayers instance.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in ConstraintIncrementalLayererAssigns all nodes of the graph to layers and adds them to the ILayers instance based on relative and absolute layering constraints defined by the given layering constraints.
dispose (LayoutGraph, ILayers, ILayoutDataProvider)in DefaultDrawingDistanceCalculator
getMinDistance (LayoutGraph, ILayer, ILayoutDataProvider, YNode, YNode)in DefaultDrawingDistanceCalculatorDetermines the minimum distance between two YNodes of the same layer.
initialize (LayoutGraph, ILayers, ILayoutDataProvider)in DefaultDrawingDistanceCalculator
getCrossingCost (Edge, Edge, ILayoutDataProvider)in DefaultLayerSequencerReturns the cost of an edge crossing between the two given edges.
sequenceNodeLayers (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in DefaultLayerSequencer
merge (LayoutGraph, ILayoutDataProvider, ILayers, ILayers)in DefaultLayeredComponentsMerger
assignPorts (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in DefaultPortAllocatorAssigns source and target port coordinates to each edge of the graph.
getPortBorderGap (LayoutGraph, ILayoutDataProvider, YNode, number, number, number)in DefaultPortAllocatorCallback method used for determining the port border gap for each node and side.
getPortBorderGapRatio (LayoutGraph, ILayoutDataProvider, YNode, number, number, number)in DefaultPortAllocatorCallback method used for determining the port border gap ratio.
getPortDistanceDelta (LayoutGraph, ILayoutDataProvider, YNode, number, number, number, number)in DefaultPortAllocatorCallback method used for determining the distance between two adjacent ports.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in GivenLayersLayererAssigns all nodes of the graph to layers and adds them to the ILayers instance.
sequenceNodeLayers (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in GivenSequenceSequencerCalculates the sequence of the nodes within a ILayers instance based on the given IComparer<T> instance.
getOriginalEdge (Edge, ILayoutDataProvider)in HierarchicLayoutReturns the corresponding original edge instance for a given edge.
createLayers (ILayoutDataProvider)in HierarchicLayoutCoreFactory method called during applyLayoutCore and creates an appropriate ILayers implementation using the given ILayoutDataProvider instance.
publishSequences (LayoutGraph, ILayers, ILayoutDataProvider)in HierarchicLayoutCoreCallback method that publishes the sequencing information.
dispose (LayoutGraph, ILayers, ILayoutDataProvider)in IDrawingDistanceCalculatorDisposes of internal data structures.
getMinDistance (LayoutGraph, ILayer, ILayoutDataProvider, YNode, YNode)in IDrawingDistanceCalculatorMain interface method called by IHierarchicLayoutNodePlacer instances to determine the minimum distance between YNodes of same layer.
initialize (LayoutGraph, ILayers, ILayoutDataProvider)in IDrawingDistanceCalculatorInitializes internal data structures.
normalizeEdges (LayoutGraph, ILayoutDataProvider)in IEdgeReverserReverses all edges which point to the wrong direction.
restoreEdgeDirections (LayoutGraph, ILayoutDataProvider)in IEdgeReverserRestores the original direction of edges marked as reversed.
reverse (LayoutGraph, ILayoutDataProvider, Edge)in IEdgeReverserReverses a given edge which points to the wrong direction.
merge (LayoutGraph, ILayoutDataProvider, ILayers, ILayers)in ILayeredComponentsMergerMerges two ILayers instances.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in ILayererAssigns all nodes of the graph to layers and adds them to the ILayers instance.
assignLayerCoordinates (LayoutGraph, ILayoutDataProvider, ILayers)in IHierarchicLayoutNodePlacerAssigns preliminary y-coordinates for each layer of a hierarchic layout.
assignSequenceCoordinates (LayoutGraph, ILayoutDataProvider, ILayers, IDrawingDistanceCalculator)in IHierarchicLayoutNodePlacerDetermines the resulting x-coordinates of a hierarchic layout.
assignPorts (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in IPortAllocatorAssigns to each edge of the graph a source port and target port coordinate pair.
optimizeAfterLayering (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in IPortConstraintOptimizerAssigns new temporary port constraints after the layering information has been determined.
optimizeAfterSequencing (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in IPortConstraintOptimizerAssigns new temporary port constraints after the sequence of the nodes has been determined.
sequenceNodeLayers (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in ISequencerCalculates the sequence of the nodes within each layer.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in MultiComponentLayerer
insertSameLayerStructures (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortCandidateOptimizer
optimizeAfterLayering (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortCandidateOptimizer
optimizeAfterSequencing (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortCandidateOptimizer
optimizeAfterSequencingForSingleNode (YNode, IComparer<Object>, IComparer<Object>, LayoutGraph, ILayoutDataProvider, IItemFactory)in PortCandidateOptimizer
insertSameLayerStructures (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseInserts a same-layer edge structure for each same-layer edge of the original graph.
optimizeAfterLayering (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseAssigns new temporary port constraints after the nodes have been assigned to layers.
optimizeAfterSequencing (LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseAssigns new temporary port constraints after the order of the nodes in each layer has been determined.
optimizeAfterSequencingForAllNodes (IComparer<Object>, IComparer<Object>, LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseAssigns new temporary port constraints after the order of the nodes in each layer has been determined.
optimizeAfterSequencingForSingleNode (YNode, IComparer<Object>, IComparer<Object>, LayoutGraph, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseAssigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been determined.
removeSameLayerStructures (PortConstraintOptimizerSameLayerData, LayoutGraph, ILayoutDataProvider, IItemFactory)in PortConstraintOptimizerBaseRemoves the same-layer edge structure created using insertSameLayerStructures.
assignLayerCoordinates (LayoutGraph, ILayoutDataProvider, ILayers)in SimplexNodePlacer
assignNodesToSublayer (YNodeList, ILayoutDataProvider, LayoutGraph, INodeMap)in SimplexNodePlacerAssigns the nodes of a given layer to the corresponding upper/lower sublayer if node compaction is enabled.
assignSequenceCoordinates (LayoutGraph, ILayoutDataProvider, ILayers, IDrawingDistanceCalculator)in SimplexNodePlacer
getLayerAlignment (LayoutGraph, ILayoutDataProvider, YNode, number, number)in SimplexNodePlacerReturns the alignment of the node with a specified layer.
getMinimumLayerHeight (LayoutGraph, ILayoutDataProvider, ILayer)in SimplexNodePlacerReturns the minimum height of a given layer.
isFixedNode (LayoutGraph, ILayoutDataProvider, YNode, boolean)in SimplexNodePlacerReturns whether or not the given node should be treated as a node with fixed (given) coordinates.
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in TopologicalLayererAssigns all nodes of the graph to layers and adds them to the ILayers instance.
dispose (LayoutGraph, ILayers, ILayoutDataProvider)in TypeBasedDrawingDistanceCalculator
getMinDistance (LayoutGraph, ILayer, ILayoutDataProvider, YNode, YNode)in TypeBasedDrawingDistanceCalculator
initialize (LayoutGraph, ILayers, ILayoutDataProvider)in TypeBasedDrawingDistanceCalculator
assignLayers (LayoutGraph, ILayers, ILayoutDataProvider)in WeightedLayererAssigns all nodes of the graph to layers and adds them to the ILayers instance.