Search this API

y.layout
Interface LayoutStage

All Superinterfaces:
Layouter
All Known Implementing Classes:
AbstractLabelingAlgorithm, AbstractLayoutStage, BendConverter, BufferedLayouter, BusRouter, ChannelEdgeRouter, ChannelEdgeRouter.OrthogonalShortestPathPathFinder, CollinearBendHider, CompactOrthogonalLayouter, ComponentLayouter, CompositeLayoutStage, CurveFittingLayoutStage, CurveRoutingStage, EdgeBundlingStage, EdgeGroupRouterStage, EdgeReversalStage, EdgeRouter, FixedGroupLayoutStage, FixNodeLayoutStage, GenericPartitionGridStage, GivenCoordinatesStage, GraphLayoutLineWrapper, GraphTransformer, GreedyMISLabeling, GroupedShuffleLayouter, GroupNodeHider, GroupNodeRouterStage, HandleNaNCoordinatesStage, IsolatedGroupComponentLayouter, KeepStrongPortConstraintsStage, LabelLayoutDataRefinement, LabelLayoutTranslator, LayoutMultiplexer, MinNodeSizeStage, MISLabelingAlgorithm, MultiPageLayouter, NormalizingGraphElementOrderStage, OrganicEdgeRouter, OrganicPartitionGridLayoutStage, OrganicRemoveOverlapsStage, OrientationLayouter, OrthogonalEdgeRouter, OrthogonalPatternEdgeRouter, OrthogonalSegmentDistributionStage, ParallelEdgeLayouter, ParentEdgeAugmentationStage, PartialLayouter, PartialLayouter.StraightLineEdgeRouter, PartitionGridLayoutStage, PartitionGridRouterStage, PartitionLayouter, PatchRouterStage, PlaceNodesAtBarycenterStage, PolylineLayoutStage, PortCalculator, PortCandidateAssignmentStage, PortConstraintEnforcementStage, RecursiveGroupLayouter, ReducedSphereOfActionStage, RemoveColinearBendsStage, RemoveOverlapsLayoutStage, SALabeling, SelfLoopLayouter, ShuffleLayouter, SnapOuterPortsToNodeBorderStage, SplitEdgeLayoutStage, StraightLineEdgeRouter, SubgraphLayouter, TemporaryGroupNodeInsertionStage, TopLevelGroupToSwimlaneStage, TreeComponentLayouter, TreeReductionStage

public interface LayoutStage
extends Layouter

A LayoutStage is a layout algorithm that represents a stage of a larger layout process.

It delegates the core layout process to another layout algorithm. Implementing classes may perform pre-processing steps before the core layout algorithm gets called and post-processing steps afterwards.

See Also:
CanonicMultiStageLayouter
 

Field Summary
 
Fields inherited from interface y.layout.Layouter
EDGE_ID_DPKEY, NODE_ID_DPKEY, NODE_TYPE_DPKEY, SELECTED_EDGES, SELECTED_NODES
 
Method Summary
 Layouter getCoreLayouter()
          Returns the core layout algorithm.
 void setCoreLayouter(Layouter layouter)
          Specifies the core layout algorithm.
 
Methods inherited from interface y.layout.Layouter
canLayout, doLayout
 

Method Detail

setCoreLayouter

void setCoreLayouter(Layouter layouter)
Specifies the core layout algorithm. This algorithm is wrapped by this stage. It is invoked in Layouter.doLayout(LayoutGraph). The LayoutStage may add pre- and post-processing steps before and after calling the core layout algorithm.

Parameters:
layouter - the core layout algorithm

getCoreLayouter

Layouter getCoreLayouter()
Returns the core layout algorithm. This algorithm is wrapped by this stage. It is invoked in Layouter.doLayout(LayoutGraph). The LayoutStage may add pre- and post-processing steps before and after calling the core layout algorithm.

Returns:
the core layout algorithm

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.