@OpenApiAll public class OrthogonalLinkDiagramLayouter extends AbstractLinkDiagramLayouter
| Constructor and Description |
|---|
OrthogonalLinkDiagramLayouter()
Construct OrthogonalLinkDiagramLayouter
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyConstraintsForEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
y.base.EdgeMap spcMap,
y.base.EdgeMap tpcMap,
java.util.Set<y.base.Edge> selectedEdges,
y.base.Edge edge,
y.layout.router.polyline.EdgeRouter oer)
Applies custom constraints for edge.
|
protected void |
configureSettings(OrthogonalRouterOptionsGroup options,
y.layout.router.polyline.EdgeRouter oer)
Configures initial edge router settings
|
protected com.nomagic.magicdraw.uml.symbols.PresentationElement |
getClient(UMLGraph graph,
y.base.Edge edge,
PathElement pathElement) |
protected com.nomagic.magicdraw.uml.symbols.PresentationElement |
getSupplier(UMLGraph graph,
y.base.Edge edge,
PathElement pathElement) |
static boolean |
isSelfLoop(PathElement path) |
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
setEdgeConstraintMaps(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
y.layout.router.polyline.EdgeRouter oer) |
clearOldRectangles, containsSelectedFromTheSameParent, createGraph, getConnectedPaths, getSelected, postprocessing, resizeFrameIfNecessaryisSubgraphLayout, isTypeSupported, setSubgraphLayoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanLayout, drawLayoutResults, getOptionsIDpublic OrthogonalLinkDiagramLayouter()
protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouterlayout in class AbstractDiagramLayouteropt - layouter optionsdpe - diagram to layoutgraph - a constructed graph from the diagramprotected void setEdgeConstraintMaps(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
y.layout.router.polyline.EdgeRouter oer)
protected void applyConstraintsForEdge(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe,
UMLGraph graph,
y.base.EdgeMap spcMap,
y.base.EdgeMap tpcMap,
java.util.Set<y.base.Edge> selectedEdges,
y.base.Edge edge,
y.layout.router.polyline.EdgeRouter oer)
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 routedprotected com.nomagic.magicdraw.uml.symbols.PresentationElement getClient(UMLGraph graph, y.base.Edge edge, PathElement pathElement)
protected com.nomagic.magicdraw.uml.symbols.PresentationElement getSupplier(UMLGraph graph, y.base.Edge edge, PathElement pathElement)
protected void configureSettings(OrthogonalRouterOptionsGroup options, y.layout.router.polyline.EdgeRouter oer)
options - router option groupoer - routerpublic static boolean isSelfLoop(@Nonnull
PathElement path)