documentationfor yFiles for HTML 2.6

Usages of ILayers

Properties

groupLayersin INodeDataGets the inner layers of the group YNode of this INodeData instance.

Method Return Values

createLayers (ILayoutDataProvider)in HierarchicLayoutCoreFactory method called during applyLayoutCore and creates an appropriate ILayers implementation using the given ILayoutDataProvider instance.
createInstance ()in ILayersCreates a new and empty ILayers instance that can be used on the same graph instance for temporary results.

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
initialize (LayoutGraph, ILayers, ILayoutDataProvider)in DefaultDrawingDistanceCalculator
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.
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.
publishLayers (LayoutGraph, ILayers)in HierarchicLayoutCoreCallback method that publishes the layering information.
publishSequences (LayoutGraph, ILayers, ILayoutDataProvider)in HierarchicLayoutCoreCallback method that publishes the sequencing information.
dispose (LayoutGraph, ILayers, ILayoutDataProvider)in IDrawingDistanceCalculatorDisposes of internal data structures.
initialize (LayoutGraph, ILayers, ILayoutDataProvider)in IDrawingDistanceCalculatorInitializes internal data structures.
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
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.
assignLayerCoordinates (LayoutGraph, ILayoutDataProvider, ILayers)in SimplexNodePlacer
assignSequenceCoordinates (LayoutGraph, ILayoutDataProvider, ILayers, IDrawingDistanceCalculator)in SimplexNodePlacer
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
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.