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 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.protected void
configureSettings
(OrthogonalRouterOptionsGroup options, y.layout.router.polyline.EdgeRouter oer) Deprecated.Configures initial edge router settingsprotected BaseGraph
createGraph
(AbstractDiagramPresentationElement dpe, AbstractDiagramLayouterOptionsGroup optionsGroup) Deprecated, for removal: This API element is subject to removal in a future version.protected static PresentationElement
getClient
(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated.protected static PresentationElement
getSupplier
(BaseGraph graph, y.base.Edge edge, PathElement pathElement) Deprecated.static boolean
isSelfLoop
(PathElement path) Deprecated.protected boolean
layout
(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Deprecated, for removal: This API element is subject to removal in a future version.protected void
setEdgeConstraintMaps
(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, resizeOuterBoundaryIfNecessary
Methods 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:AbstractLinkDiagramLayouter
Constructs a graph for layout- Overrides:
createGraph
in 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:AbstractDiagramLayouter
Layouts a diagram- Specified by:
layout
in 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.
-
Layouting
class