documentationfor yFiles for HTML 2.6

Usages of LayoutGraph

Properties

graphin ILabelLayoutFactoryGets the graph associated with this label factory instance.
graphin LayoutContextGets the relevant graph.
graphin PathSearchConfigurationGets the graph containing the edges whose path is searched.

Fields

graphin MISLabelingBaseThe input graph that will be labeled.
graphin AspectRatioTreeLayoutThe input graph this algorithm is handling.
graphin BalloonLayoutThe layout graph being acted upon.
graphin NodePlacerBaseThe graph instance this class is working on.
graphin RotatableNodePlacerBaseThe graph instance this ITreeLayoutNodePlacer is working on.
graphin TreeLayoutThe input graph for which a layout is calculated.

Method Return Values

createLayoutGraph ()in LayoutExecutorAsyncWorkerFactory method that creates the graph that will be passed to the worker handler
getPage (number)in MultiPageLayoutResultReturns the page graph associated with the given page number.

Method Parameters

findIntersections (LayoutGraph, IntersectionItemTypes, IEnumerable<Object>)in IntersectionAlgorithmReturns a list of intersections between the graph items or a subset of graph items.
applyLayout (LayoutGraph)in CircularLayoutCalculates a circular layout for the given graph.
applyLayoutCore (LayoutGraph)in CircularLayoutArranges the given graph in a circular fashion.
applyLayoutCore (LayoutGraph)in CompactDiskLayout
applyLayoutCore (LayoutGraph)in SingleCycleLayoutArranges the nodes of the given graph such that they all lie on a common circle.
applyLayoutCore (LayoutGraph)in FamilyTreeLayoutApplies a family tree layout to the given graph.
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.
getMax (LayoutGraph, YNode)in AsIsLayererCallback used for calculating the lower (max) value of a given node.
getMin (LayoutGraph, YNode)in AsIsLayererCallback used for calculating the upper (min) value of a given node.
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
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.
applyLayout (LayoutGraph)in HierarchicLayoutCalculates a hierarchic layout of the given graph.
applyLayoutCore (LayoutGraph)in HierarchicLayoutDelegates the calculation of the hierarchic layout to a configured HierarchicLayoutCore instance.
configureCoreLayout (LayoutGraph, HierarchicLayoutCore)in HierarchicLayoutConfigures the core layout algorithm with the settings of this HierarchicLayout instance.
createSequenceConstraintFactory (LayoutGraph)in HierarchicLayoutReturns a ISequenceConstraintFactory instance that can be used for specifying sequence constraints for the given graph.
disposeCoreLayout (LayoutGraph, HierarchicLayoutCore)in HierarchicLayoutDisposes of the core layout algorithm.
applyLayoutCore (LayoutGraph)in HierarchicLayoutCoreCalculates a hierarchic layout of the given graph.
createGrouping (LayoutGraph)in HierarchicLayoutCoreFactory method that is called during applyLayoutCore and creates a LayoutGroupingSupport instance in case of a grouped graph.
createItemData (LayoutGraph, IItemFactory)in HierarchicLayoutCoreCallback method that is called during applyLayoutCore, creates the INodeData and IEdgeData instances and binds them to the elements using the given itemFactory.
getEdgeLayoutDescriptors (LayoutGraph)in HierarchicLayoutCoreCallback method called during applyLayoutCore and returns a IDataProvider that holds the HierarchicLayoutEdgeLayoutDescriptor information.
getIncrementalHints (LayoutGraph)in HierarchicLayoutCoreCallback method called during applyLayoutCore and returns a IDataProvider that holds the incremental hints information.
getNodeLayoutDescriptors (LayoutGraph)in HierarchicLayoutCoreCallback method called during applyLayoutCore and returns a IDataProvider that holds the HierarchicLayoutNodeLayoutDescriptor information.
getSwimLaneDescriptors (LayoutGraph)in HierarchicLayoutCoreCallback method called during applyLayoutCore and returns a IDataProvider that holds the SwimlaneDescriptor information.
publishLayers (LayoutGraph, ILayers)in HierarchicLayoutCoreCallback method that publishes the layering information.
publishSequences (LayoutGraph, ILayers, ILayoutDataProvider)in HierarchicLayoutCoreCallback method that publishes the sequencing information.
reduceBendCount (LayoutGraph, number?)in HierarchicLayoutCoreRemoves the bends which are obviously not necessary.
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
applyLayout (LayoutGraph)in PartitionGridLayoutStageCalculates the layout based on a PartitionGrid structure.
getPortCandidateSetDataProvider (LayoutGraph)in PortCandidateOptimizerReturns the data provider that provides the port candidate sets for nodes.
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.
calculateSelfLoops (LayoutGraph, YNode, IDataProvider, IDataProvider)in SelfLoopCalculatorCalculates all self-loops at the given node of the given input graph.
calculateSelfLoops (LayoutGraph, YNode, YList, IDataProvider, IDataProvider)in SelfLoopCalculatorConvenience method that calculates a list of self-loops that belong to a given node.
getMinimumDistance (LayoutGraph, Edge)in SelfLoopCalculatorReturns the minimum length between two edges associated with the given edge.
getMinimumFirstSegmentLength (LayoutGraph, Edge)in SelfLoopCalculatorReturns the minimum length of the first segment of the given edge.
getMinimumLastSegmentLength (LayoutGraph, Edge)in SelfLoopCalculatorReturns the minimum length of the last segment of the given edge.
getMinimumNodeDistance (LayoutGraph, YNode)in SelfLoopCalculatorReturns the minimum distance between two nodes associated with the given node.
getMinimumOctilinearSegmentLength (LayoutGraph, Edge)in SelfLoopCalculatorReturns the minimum octilinear segment length of the given edge.
isOctilinearEdge (LayoutGraph, Edge)in SelfLoopCalculatorReturns whether or not the given edge is octilinear.
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.
getMinDistance (LayoutGraph, ILayer, YNode, YNode)in SimplexNodePlacerSpecifies the minimum allowed distance between two nodes of the same given 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.
applyLayout (LayoutGraph)in TopLevelGroupToSwimlaneStageCalculates the layout by automatically assigning SwimlaneDescriptor instances to nodes and treating top-level group nodes as swimlanes.
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.
assignNodeLayerWithDataProvider (LayoutGraph, INodeMap, EdgeList, IDataProvider)in WeightedLayererAssigns all nodes of the graph to layers.
applyLayout (LayoutGraph)in LabelingBasePlaces the labels in the graph after first executing the core layouter.
label (LayoutGraph, Object?)in LabelingBasePlaces the labels of the input graph using a IDataProvider registered to the input graph with the given key for determining which labels to place.
label (LayoutGraph, YList, YList)in LabelingBasePlaces the labels of the input graph restricting the placement to labels contained in the given lists.
applyLayout (LayoutGraph)in AlignmentStageAligns the nodes of the graph into a grid-like structure.
addedPathForEdge (LayoutGraph, Edge, YNodeList)in BendConverterAdds information to newly created dummy nodes.
applyLayout (LayoutGraph)in BendConverterReplaces all bends in the current scope with dummy nodes before invoking the core layout algorithm.
prepare (LayoutGraph)in BendConverterPrepares the graph before calling the core layout algorithm.
restore (LayoutGraph)in BendConverterRestores the structure of the graph after the core layout algorithm has finished.
applyLayout (LayoutGraph)in BufferedLayoutApplies the layout calculated by the core layout algorithm to the input graph.
applyLayoutCore (LayoutGraph)in CactusGroupLayoutArranges the given grouped graph in the style of a cactus group layout.
applyLayout (LayoutGraph)in ComponentLayoutDelegates the layout calculation for each component separately to the core layout algorithm and optionally arranges the components.
arrangeComponents (LayoutGraph, YNodeList, EdgeList, YRectangle, Rectangle2D)in ComponentLayoutProduces a component graph layout.
arrangeFields (LayoutGraph, YNodeList, EdgeList, YRectangle, Rectangle2D, boolean, boolean, boolean)in ComponentLayoutArranges the bounding boxes of the components.
calculateBounds (LayoutGraph)in ComponentLayoutCalculates the bounding box of a graph component including NodeHalos.
findGraphComponents (LayoutGraph, INodeMap)in ComponentLayoutDetermines which nodes belong to the same graph component.
setOrigin (LayoutGraph, YNodeList, EdgeList, YPoint, YRectangle)in ComponentLayoutMoves the subgraph containing the given nodes and edges to the specified origin.
applyLayout (LayoutGraph)in CompositeLayoutStageExecutes the pipeline of ILayoutStage and the core layout algorithm which apply the layout to the graph.
CopiedLayoutGraph (LayoutGraph)in CopiedLayoutGraphCreates a new CopiedLayoutGraph instance which is a copy of the given graph.
applyLayout (LayoutGraph)in CurveFittingLayoutStageChanges the edge paths of selected edges of the given graph such that they represent piecewise cubic bezier curves which approximate the original points of the path.
DefaultLayoutGraph (LayoutGraph)in DefaultLayoutGraphCreates a new DefaultLayoutGraph instance which is a copy of the given graph.
DefaultLayoutGraph (LayoutGraph, ICursor)in DefaultLayoutGraphCreates a new DefaultLayoutGraph instance which is a copy of the given subgraph.
applyLayout (LayoutGraph)in FixGroupLayoutStageCalculates the layout for the given graph, that is, prepares the graph by hiding the content of fixed group nodes for the core layout algorithm, executes it and, finally, restores the graph and routes inter-edges.
applyLayout (LayoutGraph)in FixNodeLayoutStageDelegates to the core layout algorithm and moves the fixed point back to its initial location.
calculateBounds (LayoutGraph, YNodeList)in FixNodeLayoutStageCalculates the bounding box of the specified nodes.
calculateFixPoint (LayoutGraph, YNodeList)in FixNodeLayoutStageCalculates the fix point for the specified nodes in the specified graph.
applyLayout (LayoutGraph)in FixPortLocationStageRestores the locations of strong PortConstraints after invoking the core layout algorithm.
applyLayout (LayoutGraph)in GenericPartitionGridStageStarts the layout.
applyLayout (LayoutGraph)in GivenCoordinatesStageChanges node locations and edge paths to user-specified values and then invokes the core layout algorithm.
applyLayout (LayoutGraph)in GraphLayoutLineWrapperCuts the layout resulting from the core layout algorithm at a specified width/height and shifts the remaining graph into the next row/column until the layout has the desired width/height.
applyBestFitRotationAngle (LayoutGraph, number, number)in GraphTransformerRotates the given graph so its resulting bounding box fits best to the given bounds.
applyLayoutCore (LayoutGraph)in GraphTransformerApplies the selected transformation to the given graph after invoking the optional core layout algorithm.
findBestFitRotationAngle (LayoutGraph, number, number)in GraphTransformerReturns the rotation angle for the graph that will result in a layout that fits best to the given bounds.
setMaximalBounds (LayoutGraph, number, number, number, number)in GraphTransformerFits the given graph into the specified rectangular bounds.
translate (LayoutGraph, number, number)in GraphTransformerTranslates the layout coordinates by the given vector.
applyLayout (LayoutGraph)in HandleNaNCoordinatesStageHides all graph elements with NaN-coordinates during core layout and restores them afterwards.
applyLayout (LayoutGraph)in HideGroupsStageCalculates the layout based on the given core layout algorithm.
hideGroupNodes (LayoutGraph)in HideGroupsStageHides the group nodes and their incident edges of the input graph.
unhideGroupNodes (LayoutGraph)in HideGroupsStageUn-hides the group nodes and their incident edges of the input graph that were previously hidden using method hideGroupNodes.
getConnectorNode (LayoutGraph)in HierarchicLayoutSubcomponentDescriptorDetermines if there is a unique node outside the subcomponent whose removal would disconnect the component from the remaining graph and returns the node if it exists.
calculateBounds (LayoutGraph, YNode, YNodeList)in ILayoutGroupBoundsCalculatorCalculates the bounds of the given group node that contains the given list of child nodes.
create (function(LayoutGraph, YNode, YNodeList):Rectangle2D)in ILayoutGroupBoundsCalculatorCreates an implementation of the interface ILayoutGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
applyLayout (LayoutGraph)in ILayoutAlgorithmMain layout routine that assigns new layout information to the given graph.
findPartitions (LayoutGraph, INodeMap)in IPartitionFinderReturns a partition ID for each node of an input graph.
routeInterEdges (LayoutGraph, IDataProvider, IDataProvider)in IPartitionInterEdgeRouterRoutes inter-edges of the partitioned graph.
placePartitions (LayoutGraph, IDataProvider, IDataProvider)in IPartitionPlacerArranges the graph while taking partition IDs and inter-edge information into account.
calculateBounds (LayoutGraph, YNode, YNodeList)in InsetsGroupBoundsCalculatorCalculates the bounds of the given group node and enlarges the bounds by the insets associated with the group node.
createEnlargedBounds (LayoutGraph, YNode, YNodeList, Rectangle2D)in InsetsGroupBoundsCalculatorEnlarges the given graph bounds by the insets associated with the given group node.
applyLayout (LayoutGraph)in IsolatedGroupComponentLayoutCalculates the layout based on the current core layout algorithm.
findIsolatedGraphComponents (LayoutGraph, INodeMap)in IsolatedGroupComponentLayoutDetermines the nodes that belong to the same graph component.
applyLayout (LayoutGraph)in LabelLayoutTranslatorTranslates traditional ILabelLayout information to IDataProvider-based LabelLayoutData.
LayoutExecutorAsyncWorker (function(LayoutGraph, Object):Promise<Object>)in LayoutExecutorAsyncWorkerCreates a new instance of a layout service worker.
LayoutGraph (LayoutGraph)in LayoutGraphCreates a new LayoutGraph which is a copy of the given subgraph.
LayoutGraph (LayoutGraph, ICursor)in LayoutGraphCreates a new LayoutGraph which is a copy of the given subgraph.
alignNodeLayouts (LayoutGraph, YNodeList, YNode, boolean, NodeAlignment)in LayoutGraphUtilitiesAligns the specified nodes either vertically or horizontally according to the specified node alignment mode.
assignReverseLayout (LayoutGraph, Edge, Edge)in LayoutGraphUtilitiesApplies the reversed layout of the first edge to the second edge.
clipEdgeOnBounds (LayoutGraph, Edge)in LayoutGraphUtilitiesClips the path of the given edge on the bounding box of the source and target points.
clipEdgePathOnBounds (LayoutGraph, Edge)in LayoutGraphUtilitiesReturns the path of an edge clipped on the bounding box of the source and target node.
clipEdgesOnBounds (LayoutGraph)in LayoutGraphUtilitiesClips the path of all edges in the graph on the bounding box of their source and target points.
determineEdgeFlowDirection (LayoutGraph, IDataProvider)in LayoutGraphUtilitiesDetermines the main direction of the edge flow by analyzing the current layout of the graph.
edgeLayoutString (LayoutGraph, Edge)in LayoutGraphUtilitiesReturns a string representation of the path of the given edge.
getBoundingBox (LayoutGraph, INodeCursor, IEdgeCursor)in LayoutGraphUtilitiesReturns the bounding box of the nodes and edges accessible through the given cursors.
getBoundingBox (LayoutGraph, YNode)in LayoutGraphUtilitiesReturns the bounding box of the given node.
getBoundingBox (LayoutGraph, Edge)in LayoutGraphUtilitiesReturns the bounding box of the given edge.
getBoundingBox (LayoutGraph, INodeCursor, IEdgeCursor, boolean)in LayoutGraphUtilitiesReturns the bounding box of the nodes and edges accessible through the given cursors, optionally including node labels and edge labels.
getBoundingBox (LayoutGraph, INodeCursor, IEdgeCursor, boolean, boolean, boolean?)in LayoutGraphUtilitiesReturns the bounding box of the nodes and edges accessible through the given cursors, optionally including node labels, edge labels or NodeHalos.
getBoundingBoxOfEdges (LayoutGraph, IEdgeCursor)in LayoutGraphUtilitiesReturns the bounding box of the edges accessible through the given cursor.
getBoundingBoxOfNodes (LayoutGraph, INodeCursor)in LayoutGraphUtilitiesReturns the bounding box of the nodes accessible through the given cursor.
getLabelFactory (LayoutGraph)in LayoutGraphUtilitiesReturns the ILabelLayoutFactory for the given graph.
getNodeDistance (LayoutGraph, YNode, YNode)in LayoutGraphUtilitiesReturns the distance between the centers of the two given nodes.
getNodePositions (LayoutGraph)in LayoutGraphUtilitiesReturns a string representation of all node positions in the graph.
getPathLength (LayoutGraph, Edge)in LayoutGraphUtilitiesReturns the length of the path of the given edge.
isEdgeOutsideNodes (LayoutGraph, Edge)in LayoutGraphUtilitiesChecks whether or not the path of an edge is outside the bounding box of the source and target node.
isUsingOctilinearEdgeRoutes (LayoutGraph, IDataProvider)in LayoutGraphUtilitiesDetermines whether or not most of the edges of the graph are routed octilinear.
isUsingOrthogonalEdgeRoutes (LayoutGraph, IDataProvider)in LayoutGraphUtilitiesDetermines whether or not most of the edges of the graph are routed orthogonally.
moveEdge (LayoutGraph, Edge, number, number)in LayoutGraphUtilitiesMoves all control points of the given edge by the vector (dx,dy).
moveEdges (LayoutGraph, IEdgeCursor, number, number)in LayoutGraphUtilitiesMoves the control points of all edges accessible through the given IEdgeCursor by the vector (dx,dy).
moveNode (LayoutGraph, YNode, number, number)in LayoutGraphUtilitiesMoves the given node by the vector (dx,dy).
moveNodes (LayoutGraph, INodeCursor, number, number)in LayoutGraphUtilitiesMoves all nodes accessible through the given INodeCursor by the vector (dx,dy).
moveSubgraph (LayoutGraph, INodeCursor, number, number)in LayoutGraphUtilitiesMoves the subgraph induced by the nodes accessible through the given INodeCursor by the vector (dx,dy).
moveSubgraphOfEdges (LayoutGraph, IEdgeCursor, number, number)in LayoutGraphUtilitiesMoves the subgraph induced by the edges accessible through the given IEdgeCursor by the vector (dx,dy).
pathIntersectsRect (LayoutGraph, Edge, Rectangle2D)in LayoutGraphUtilitiesChecks whether or not the path of the given edge intersects the interior of a given rectangular area.
removeDuplicateBends (LayoutGraph)in LayoutGraphUtilitiesRemoves successive bends that have the same coordinates from all edges in the graph.
removeDuplicateBends (LayoutGraph, Edge)in LayoutGraphUtilitiesRemoves successive bends that have the same coordinates from the given edge.
resetPath (LayoutGraph, Edge, boolean?)in LayoutGraphUtilitiesAssigns a trivial path which has no control points to the specified edge.
resetPaths (LayoutGraph, boolean?)in LayoutGraphUtilitiesAssigns a trivial path which has no control points to all edges in the specified graph.
resetPorts (LayoutGraph)in LayoutGraphUtilitiesSets the ports of all edges in the graph to the center of the nodes.
roundEdgeLayout (LayoutGraph, Edge)in LayoutGraphUtilitiesRounds the locations of the control points and ports of the given edge to integer values.
roundLayout (LayoutGraph)in LayoutGraphUtilitiesRounds coordinates and sizes in the layout of an entire graph to integer values.
roundNodeLayout (LayoutGraph, YNode)in LayoutGraphUtilitiesRounds the location and size of the given node to integer values.
routeEdgesParallel (LayoutGraph, Edge, Edge, number, boolean?, number?, number?)in LayoutGraphUtilitiesRoutes two edges which are incident to the same nodes in parallel, optionally joining the end points.
routeEdgesParallel (LayoutGraph, Edge, EdgeList, number, boolean?, boolean?, number?, number?)in LayoutGraphUtilitiesRoutes a list of edges which are incident to the same nodes in parallel, optionally joining the end points.
routeSelfLoop (LayoutGraph, Edge)in LayoutGraphUtilitiesRoutes a self-loop.
applyLayout (LayoutGraph)in LayoutMultiplexerRetrieves and invokes the layout algorithm that is assigned to the graph.
getCoreLayout (LayoutGraph)in LayoutMultiplexerReturns the core layout algorithm associated with the nodes contained in the given graph.
applyLayout (LayoutGraph)in LayoutStageBase
applyLayoutCore (LayoutGraph)in LayoutStageBaseInvokes the layout process of the core layout algorithm.
applyLayout (LayoutGraph)in MinimumNodeSizeStageResizes all nodes that are smaller than the specified minimum size to that minimum size, executes the core layout algorithm and restores the original sizes afterwards.
calculateBounds (LayoutGraph, YNode, YNodeList)in MinimumSizeGroupBoundsCalculatorCalculates the bounds of the given group node, enlarges the bounds by the insets associated with the group node and makes sure that the size of the group node obeys the associated minimum size.
applyLayout (LayoutGraph)in MultiStageLayoutCalculates a layout for the given graph and applies it directly to the graph.
applyLayoutCore (LayoutGraph)in MultiStageLayoutInvokes the core layout algorithm.
checkNodeSize (LayoutGraph)in MultiStageLayoutChecks the sizes of the nodes to be non-zero.
getHalo (LayoutGraph, YNode)in NodeHaloReturns the NodeHalo associated with the given node.
getHaloBox (LayoutGraph, YNode)in NodeHaloReturns a YRectangle instance with the bounds of the given node including its NodeHalo.
hasHalos (LayoutGraph)in NodeHaloChecks whether or not the given graph contains NodeHalo information.
applyLayout (LayoutGraph)in NormalizeGraphElementOrderStageEnforces the specified order of nodes and order of edges before invoking the core layout algorithm.
applyLayout (LayoutGraph)in OrientationLayoutPrepares the graph for orientation change before calling the core layout algorithm and finishes the orientation change afterwards.
completeOrientationChange (LayoutGraph)in OrientationLayoutApplies the desired orientation to the graph.
prepareOrientationChange (LayoutGraph)in OrientationLayoutPrepares the layout for the desired orientation.
applyLayout (LayoutGraph)in PartitionLayoutArranges and places independent partitions in the graph.
applyLayout (LayoutGraph)in PlaceNodesAtBarycenterStageStarts the layout.
applyLayout (LayoutGraph)in PortCalculatorAdjusts the ports after invoking the core layout algorithm.
calculatePorts (LayoutGraph)in PortCalculatorPerforms the actual port calculation on the specified graph instance.
getSPC (LayoutGraph, Edge)in PortConstraintReturns the source PortConstraint associated with the given edge.
getTPC (LayoutGraph, Edge)in PortConstraintReturns the target PortConstraint associated with the given edge.
hasPC (LayoutGraph, Edge)in PortConstraintChecks whether or not there exist source or target PortConstraints associated with the given edge.
hasSPC (LayoutGraph, Edge)in PortConstraintChecks whether or not there exist source PortConstraints associated with the given edge.
hasTPC (LayoutGraph, Edge)in PortConstraintChecks whether or not there exist target PortConstraints associated with the given edge.
createPortConstraintFromSketch (LayoutGraph, Edge, boolean, boolean)in PortConstraintConfiguratorCreates a PortConstraint for the given edge.
createPortConstraintsFromSketch (LayoutGraph, IEdgeMap, IEdgeMap)in PortConstraintConfiguratorCreates weak PortConstraints for all edges of the given graph.
createPortConstraintsFromSketch (LayoutGraph, IEdgeCursor, IEdgeMap, boolean, IEdgeMap, boolean)in PortConstraintConfiguratorCreates PortConstraints for some edges of the given graph.
applyLayout (LayoutGraph)in PortPlacementStageCorrects the ports of the edges considering PortConstraints and PortCandidates.
applyLayout (LayoutGraph)in RecursiveGroupLayoutInvokes a recursive traversal through the grouping hierarchy of the given graph during which the specified layout algorithms are applied to the content of the groups.
routeInterEdges (LayoutGraph, EdgeList)in RecursiveGroupLayoutReroutes the given inter-edges using the current edge routing algorithm.
applyLayout (LayoutGraph)in RemoveCollinearBendsStageRemoves collinear bends of the edges in the given graph.
applyLayout (LayoutGraph)in ReverseEdgesStageReverses all selected edges before calling the core layout algorithm and restores the original edge direction after the core layout algorithm has finished.
findReversedTreeEdges (LayoutGraph, YNode, IDataAcceptor)in ReverseEdgesStageMarks edges in a tree-structured graph component that need to be reversed to make the specified node the root of the tree component.
reverseEdge (LayoutGraph, Edge)in ReverseEdgesStageReverses the specified edge in the specified graph.
reverseEdges (LayoutGraph)in ReverseEdgesStageReverses selected edges in the specified graph.
applyLayout (LayoutGraph)in SelfLoopRouterDelegates the arrangement of nodes and edges to the core layout algorithm and routes the self-loops.
layoutSelfLoops (LayoutGraph)in SelfLoopRouterCalculates the routes of the self-loops in the given graph.
applyLayout (LayoutGraph)in SequentialLayoutExecutes all layout algorithms in the chain, one after the other.
applyLayout (LayoutGraph)in SubgraphLayoutDelegates the arrangement of the specified subgraph of the given graph to the core layout algorithm.
applyLayout (LayoutGraph)in TabularLayoutArranges the input graph in a tabular fashion.
applyLayout (LayoutGraph)in TemporaryGroupNodeInsertionStageCreates temporary group nodes based on the sub-graphs define by the temporary group descriptors, executes the core layout algorithm, and, finally, removes the temporary group nodes.
applyIncrementalLayout (LayoutGraph, IDataProvider, LayoutContext)in MultiPageLayoutThis method is called to further improve the layout results.
applyLayout (LayoutGraph)in MultiPageLayoutCalculates a new multi-page layout for the specified graph.
calculateLayout (LayoutGraph)in MultiPageLayoutCalculates a new multi-page layout for the specified graph.
routeRestoredEdges (LayoutGraph, IDataProvider, YRectangle)in MultiPageLayoutThis method is called whenever some single edges have to be routed without changing the position of nodes (e.g., by removeConnectorPair to route the restored edges).
applyLayoutCore (LayoutGraph)in ClassicOrganicLayoutCalculates an organic arrangement of the given graph.
applyLayout (LayoutGraph)in InteractiveOrganicLayoutCalculates an organic layout for the given input graph, however, the layout is not automatically applied to the graph.
startLayout (LayoutGraph)in InteractiveOrganicLayoutCreates a context object that provides methods to continue and stop the layout calculation for running this layout algorithm in a single-threaded environment.
applyLayout (LayoutGraph)in OrganicLayoutCalculates an organic arrangement of the graph.
applyLayoutCore (LayoutGraph)in OrganicLayoutCalculates an organic arrangement of the graph.
configureComponentLayout (LayoutGraph, ComponentLayout)in OrganicLayoutConfigures the given ComponentLayout to take fixed nodes in components into account.
disposeComponentLayout (LayoutGraph, ComponentLayout)in OrganicLayoutDisposes of the ComponentLayout instance.
applyLayout (LayoutGraph)in OrganicPartitionGridLayoutStageCalculates the layout according to the core layout algorithm, while considering an existing partition grid structure defined for the graph.
applyLayout (LayoutGraph)in OrganicRemoveOverlapsStageRemoves node overlaps and displaces nodes of the given graph such that they keep the specified minimum distance to each other.
applyLayout (LayoutGraph)in RecursiveShuffleLayoutRemoves all node overlaps in the given graph, after executing the specified core layout algorithm.
applyLayout (LayoutGraph)in RemoveOverlapsStageRemoves node overlaps and displaces nodes of the given graph such that they keep the specified minimum distance to each other.
applyLayout (LayoutGraph)in ShuffleLayoutPerforms the overlap removal (shuffle) algorithm on the given graph, after the core layout algorithm was applied to it.
applyLayout (LayoutGraph)in SplitEdgeStageReplaces the edges of the given graph by a path of split-edges, executes the core layout algorithm and restores the original edges, introducing bends at the locations of the split-nodes.
applyLayout (LayoutGraph)in OrthogonalLayoutCalculates an orthogonal layout for the given graph.
applyLayoutCore (LayoutGraph)in OrthogonalLayoutCalculates an orthogonal layout for the given graph.
applyLayout (LayoutGraph)in ClearAreaLayoutClears the specified rectangular area, the area defined via AREA_NODES_DP_KEY or EXPANDED_NODE_DP_KEY by moving all other graph elements currently intersecting with it.
createAreaOutline (LayoutGraph, YNodeList, EdgeList)in ClearAreaLayoutCreates the outline that describes the shape of the given nodes and edges.
applyLayout (LayoutGraph)in FillAreaLayoutTries to fill the specified area in the given graph with elements, such that the resulting layout is more compact.
applyLayout (LayoutGraph)in PartialLayoutThis method calculates the partial layout.
layoutSubgraph (LayoutGraph)in PartialLayoutThis method is called during the layout process and calculates the layout for the given subgraph component using the specified core layout algorithm.
placeSubgraphs (LayoutGraph, YNodeList)in PartialLayoutThis method is called during the layout process and places the subgraph components one-by-one onto the drawing area.
routeEdgesBetweenFixedElements (LayoutGraph, EdgeList)in PartialLayoutThis method is called during the layout process and routes all partial edges that connect two fixed elements.
routeInterEdges (LayoutGraph, EdgeList)in PartialLayoutThis method is called during the layout process and routes all inter-edges.
applyLayoutCore (LayoutGraph)in RadialLayoutCalculates a radial arrangement for the given graph.
replaceHubsBySubgraph (LayoutGraph, IDataProvider, IDataAcceptor)in BusRepresentationsChanges the representation of buses from hubs to complete subgraphs.
replaceHubsBySubgraph (LayoutGraph, EdgeList, IDataProvider, IDataProvider, IDataAcceptor)in BusRepresentationsChanges the representation of buses from hubs to complete subgraphs by creating new edges between regular nodes and removing the hubs.
replaceSubgraphByHubs (LayoutGraph, IEdgeCursor, IDataProvider, IDataAcceptor)in BusRepresentationsChanges the representation of buses from complete subgraphs to hubs by replacing intersection points by hubs.
applyLayout (LayoutGraph)in BusRouterCalculates bus-like routes for the edges in the given input graph.
applyLayout (LayoutGraph)in ChannelEdgeRouterPerforms the orthogonal routing of the edges of the input graph.
checkNodeSize (LayoutGraph)in ChannelEdgeRouterChecks the sizes of the nodes to be non-zero.
applyLayout (LayoutGraph)in CurveRoutingStageAdds curved segments to the edge routes produced by the core layout algorithm.
applyLayout (LayoutGraph)in EdgeBundlingStageApplies the edge bundling algorithm after invoking the core layout algorithm.
applyLayout (LayoutGraph)in EdgeRouterPerforms the routing of the edges of the input graph.
checkNodeSize (LayoutGraph)in EdgeRouterChecks the sizes of the nodes to be non-zero.
createConfiguration (LayoutGraph, LayoutGroupingSupport)in EdgeRouterCreates a PathSearchConfiguration that is used during the path searching process.
createDefaultEdgeOrderComparer (LayoutGraph, PathSearchConfiguration)in EdgeRouterCreates a default IComparer<T> instance to determine the order of the edges according to which they will be routed.
applyLayout (LayoutGraph)in OrganicEdgeRouterPerforms the organic routing of the edges of the input graph.
applyLayout (LayoutGraph)in OrthogonalPatternEdgeRouterRoutes the edges of the given graph orthogonally.
checkNodeSize (LayoutGraph)in OrthogonalPatternEdgeRouterChecks the sizes of the nodes to be non-zero.
applyLayout (LayoutGraph)in OrthogonalSegmentDistributionStageDistributes overlapping orthogonal segments after the core layout has been calculated.
applyLayout (LayoutGraph)in ParallelEdgeRouterDelegates the arrangement of nodes and edges to the core layout algorithm and routes the parallel edges.
layoutParallelEdges (LayoutGraph, IEdgeMap)in ParallelEdgeRouterAssigns a layout to all parallel edges.
PathSearchConfiguration (LayoutGraph, LayoutGroupingSupport, EdgeRouter)in PathSearchConfigurationCreates a new instance of PathSearchConfiguration used for a path search.
applyLayout (LayoutGraph)in PolylineLayoutStageAdds polyline segments to the edge routes produced by the core layout algorithm.
applyLayout (LayoutGraph)in SnapOuterPortsToNodeBorderStageSnaps all edge ports that lie outside the bounds of the nodes to their border.
applyLayout (LayoutGraph)in StraightLineEdgeRouterRoutes the edges as straight-lines from their source to their target after invoking the core layout algorithm.
assignPorts (LayoutGraph, YNode)in DefaultSeriesParallelLayoutPortAssignmentPlaces the ports of edges connecting to the given node according to the port assignment mode.
assignPorts (LayoutGraph, YNode)in ISeriesParallelLayoutPortAssignmentAssigns both the incoming edges' target ports as well as all source ports for the outgoing edges.
applyLayoutCore (LayoutGraph)in SeriesParallelLayoutCalculates a series-parallel layout for the given graph.
applyLayoutCore (LayoutGraph)in AspectRatioTreeLayoutArranges the given graph considering the specified aspect ratio.
createProcessor (TreeLayout, LayoutGraph, YNode)in AssistantNodePlacerCreates a IProcessor that prepares the graph for placing assistant node.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in AssistantNodePlacerDelegates the arrangement of SubtreeShapes to an instance of LeftRightNodePlacer.
applyLayoutCore (LayoutGraph)in BalloonLayoutArranges the given graph as a tree graph in a balloon-like fashion.
applyLayoutCore (LayoutGraph)in ClassicTreeLayoutArranges the given graph as a tree.
createProcessor (TreeLayout, LayoutGraph, YNode)in CompactNodePlacerCreates a IProcessor.
calculateParentConnector (LayoutGraph, YNode, INodeLayout, SubtreeShape, Edge, IEdgeLayout, number)in DefaultNodePlacerCalculates the bends for the connector to the parent node.
assignChildEdgeSourcePort (LayoutGraph, YNode, Edge, number)in DefaultTreeLayoutPortAssignmentAssigns relative coordinates to the source port of the outgoing edge to a child of the given node.
assignParentEdgeTargetPort (LayoutGraph, YNode, Edge)in DefaultTreeLayoutPortAssignmentAssigns relative coordinates to the target port of the incoming edge from the parent of the given node.
assignPorts (LayoutGraph, YNode)in DefaultTreeLayoutPortAssignmentPlaces the ports of edges connecting to the given node according to the port assignment mode.
getSourcePortConstraint (LayoutGraph, Edge, number)in DefaultTreeLayoutPortAssignmentRetrieves the source PortConstraint for the given edge.
getTargetPortConstraint (LayoutGraph, Edge)in DefaultTreeLayoutPortAssignmentRetrieves the target PortConstraint for the given edge.
createProcessor (TreeLayout, LayoutGraph, YNode)in DelegatingNodePlacerCreates a IProcessor that partitions child nodes of the current root node into two subsets.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in DelegatingNodePlacerPlaces the SubtreeShapes of the child nodes using the two delegate node placers retrieved with primaryPlacer and secondaryPlacer.
primaryChildren (YNode, LayoutGraph)in DelegatingNodePlacerReturns all upper-left children of the local root node.
secondaryChildren (YNode, LayoutGraph)in DelegatingNodePlacerReturns all lower-right children of the local root node.
createProcessor (TreeLayout, LayoutGraph, YNode)in DendrogramNodePlacerCreates an optional IProcessor for pre- and post-processing.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in DendrogramNodePlacerArranges the SubtreeShapes of the local root and its children as a dendrogram.
createProcessor (TreeLayout, LayoutGraph, YNode)in FreeNodePlacerCreates a IProcessor that will change all descending ITreeLayoutNodePlacers to FreeNodePlacer.
createProcessor (TreeLayout, LayoutGraph, YNode)in GroupedNodePlacerCreates a IProcessor that prepares the graph for edge grouping.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in GroupedNodePlacerPlaces the groups of SubtreeShapes according to their group IDs.
createProcessor (TreeLayout, LayoutGraph, YNode)in ITreeLayoutNodePlacerCreates an optional IProcessor for pre- and post-processing.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in ITreeLayoutNodePlacerArranges the SubtreeShapes of the local root and its children and routes the edges that connect them.
assignPorts (LayoutGraph, YNode)in ITreeLayoutPortAssignmentPlaces the ports of edges connecting to the given node.
createProcessor (TreeLayout, LayoutGraph, YNode)in LayeredNodePlacerCreates a IProcessor that distributes the nodes over the layers.
createProcessor (TreeLayout, LayoutGraph, YNode)in LeafNodePlacerCreates an optional IProcessor for pre- and post-processing.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in LeafNodePlacerCreates a SubtreeShape for the local root node (a leaf node in this case) and adds target points to the incoming edge.
createProcessor (TreeLayout, LayoutGraph, YNode)in LeftRightNodePlacerCreates a processor that distributes the child elements into multiple branches, if necessary.
createProcessor (TreeLayout, LayoutGraph, YNode)in NodePlacerBaseCreates an optional IProcessor for pre- and post-processing.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in NodePlacerBaseInitializes the local data structures and then delegates the work to the abstract variant of this method (placeSubtreeOfNode)
createProcessor (TreeLayout, LayoutGraph, YNode)in RotatableNodePlacerBaseCreates an optional IProcessor for pre- and post-processing.
placeSubtree (IDataProvider, IDataProvider, LayoutGraph, YNode, ParentConnectorDirection)in RotatableNodePlacerBaseInitializes the local data structures and then delegates the work to the abstract variant of this method (placeSubtreeOfNode).
addEdgeSegments (LayoutGraph, Edge)in SubtreeShapeAdds all edge segments of the given edge to this SubtreeShape instance.
applyLayout (LayoutGraph)in TreeComponentLayoutFinds the tree components inside the given graph and applies a tree layout to them.
applyLayoutUsingDummies (LayoutGraph, IDataProvider)in TreeComponentLayoutDelegates the layout calculation to the core layout algorithm and handles the dummy nodes.
applyLayoutCore (LayoutGraph)in TreeLayoutArranges the given graph as a tree.
applyLayout (LayoutGraph)in TreeMapLayoutArranges the given input graph as a tree map.
applyLayout (LayoutGraph)in TreeReductionStageDetermines a spanning tree of the graph and passes it to the core layout algorithm.
routeNonTreeEdges (LayoutGraph, IEdgeMap)in TreeReductionStageRoutes all edges that do not belong to the chosen spanning tree.

Extending Types

CopiedLayoutGraphA CopiedLayoutGraph is a LayoutGraph that serves as a copy of another graph with layout information.
DefaultLayoutGraphDefaultLayoutGraph is a default implementation of LayoutGraph which holds the complete layout information about the graph and its elements.