Class OrthogonalLinkDiagramLayouter
java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.AbstractLinkDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.OrthogonalLinkDiagramLayouter
- All Implemented Interfaces:
DiagramLayouter,Cloneable
Deprecated.
Link layouter.
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
layoutParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyConstraintsForEdge(AbstractDiagramPresentationElement dpe, BaseGraph graph, y.base.EdgeMap spcMap, y.base.EdgeMap tpcMap, Collection<y.base.Edge> selectedEdges, y.base.Edge edge, y.layout.router.polyline.EdgeRouter oer) Deprecated.Applies custom constraints for edge.protected voidconfigureSettings(OrthogonalRouterOptionsGroup options, y.layout.router.polyline.EdgeRouter oer) Deprecated.Configures initial edge router settingsprotected BaseGraphcreateGraph(AbstractDiagramPresentationElement dpe, AbstractDiagramLayouterOptionsGroup optionsGroup) Deprecated, for removal: This API element is subject to removal in a future version.protected static PresentationElementgetClient(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated.protected static PresentationElementgetSupplier(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated.static booleanisSelfLoop(PathElement path) Deprecated.protected booleanlayout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetEdgeConstraintMaps(AbstractDiagramPresentationElement dpe, BaseGraph graph, y.layout.router.polyline.EdgeRouter oer) Deprecated.Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractLinkDiagramLayouter
clearOldRectangles, containsSelectedFromTheSameParent, getConnectedPaths, getSelected, placeLegendAndInfo, postprocessing, resizeOuterBoundaryIfNecessaryMethods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
afterLayout, afterLayout, canLayout, clone, createCommands, createGraph, createGraph, dispose, drawLayoutResults, getAnchoredPresentationElement, getDiagramLayouterAbortHandler, getLayoutParameter, getOptionsID, isTypeSupported, layout, layoutGraph, preProcessing, setAnchoredPresentationElement, setDefaultLayoutParameters, setLabelConsiderationMode, setLayoutParameter
-
Constructor Details
-
OrthogonalLinkDiagramLayouter
@OpenApi public OrthogonalLinkDiagramLayouter()Deprecated.
-
-
Method Details
-
createGraph
@OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) protected BaseGraph createGraph(AbstractDiagramPresentationElement dpe, AbstractDiagramLayouterOptionsGroup optionsGroup) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractLinkDiagramLayouterConstructs a graph for layout- Overrides:
createGraphin classAbstractLinkDiagramLayouter- Parameters:
dpe- shapes and edges are taken from this diagramoptionsGroup- layouter options- Returns:
- a created UMLGraph
-
layout
@OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractDiagramLayouterLayouts a diagram- Specified by:
layoutin classAbstractDiagramLayouter- Parameters:
opt- layouter optionsdpe- diagram to layoutgraph- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
setEdgeConstraintMaps
protected void setEdgeConstraintMaps(AbstractDiagramPresentationElement dpe, BaseGraph graph, y.layout.router.polyline.EdgeRouter oer) Deprecated. -
applyConstraintsForEdge
protected void applyConstraintsForEdge(AbstractDiagramPresentationElement dpe, BaseGraph graph, y.base.EdgeMap spcMap, y.base.EdgeMap tpcMap, Collection<y.base.Edge> selectedEdges, y.base.Edge edge, y.layout.router.polyline.EdgeRouter oer) Deprecated.Applies custom constraints for edge. Fills selectedEdges set in the process.- Parameters:
dpe- current diagramgraph- current graphspcMap- source port constraint maptpcMap- target port constraint mapselectedEdges- list for filling with edges that will be routededge- edge to be routed
-
getClient
protected static PresentationElement getClient(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated. -
getSupplier
protected static PresentationElement getSupplier(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated. -
configureSettings
protected void configureSettings(OrthogonalRouterOptionsGroup options, y.layout.router.polyline.EdgeRouter oer) Deprecated.Configures initial edge router settings- Parameters:
options- router option groupoer- router
-
isSelfLoop
Deprecated.
-
Layoutingclass