@OpenApiAll public class CompositeStructureDiagramLayouter extends HierarchicDiagramLayouter
Modifier and Type | Field and Description |
---|---|
protected com.nomagic.magicdraw.uml.symbols.layout.AbstractCustomCandidates |
can |
Constructor and Description |
---|
CompositeStructureDiagramLayouter() |
CompositeStructureDiagramLayouter(java.lang.String optionId)
Construct Composite layouter
|
Modifier and Type | Method and Description |
---|---|
protected void |
afterLayout(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
UMLGraph graph,
com.nomagic.magicdraw.commands.MacroCommand mc) |
protected UMLGraph |
createGraph(DiagramPresentationElement dpe,
AbstractDiagramLayouterOptionsGroup optionsGroup)
Constructs a graph for layout
|
protected java.util.Set<PathElement> |
findPathToRelayout(UMLGraph umlGraph,
DiagramPresentationElement dpe) |
protected boolean |
layout(AbstractDiagramLayouterOptionsGroup opt,
DiagramPresentationElement dpe,
UMLGraph graph)
Layouts a diagram
|
protected void |
preProcessing(AbstractDiagramLayouterOptionsGroup options,
DiagramPresentationElement dpe,
com.nomagic.magicdraw.commands.MacroCommand mc) |
collectOutgoingFromNonNode, collectPathsOneEndLayoutedOtherNot, fixOnFrameElements, getAllUnlayoutableSymbols, initDefaultHierarchicSettings, resizeOnEdgeElements, routeNonRoutedPaths, wrapToAccordingGroupLayouter
createGraph, getSelected, isSubgraphLayout, isTypeSupported, setSubgraphLayout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canLayout, drawLayoutResults, getOptionsID
public CompositeStructureDiagramLayouter()
public CompositeStructureDiagramLayouter(java.lang.String optionId)
optionId
- activity diagram layouter options id@OpenApi protected UMLGraph createGraph(DiagramPresentationElement dpe, AbstractDiagramLayouterOptionsGroup optionsGroup)
createGraph
in class AbstractDiagramLayouter
dpe
- shapes and edges are taken from this diagramoptionsGroup
- layouter optionsprotected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
AbstractDiagramLayouter
layout
in class HierarchicDiagramLayouter
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagramprotected void preProcessing(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, @CheckForNull com.nomagic.magicdraw.commands.MacroCommand mc)
preProcessing
in class HierarchicDiagramLayouter
protected void afterLayout(AbstractDiagramLayouterOptionsGroup options, DiagramPresentationElement dpe, UMLGraph graph, com.nomagic.magicdraw.commands.MacroCommand mc)
afterLayout
in class HierarchicDiagramLayouter
protected java.util.Set<PathElement> findPathToRelayout(UMLGraph umlGraph, DiagramPresentationElement dpe)
findPathToRelayout
in class HierarchicDiagramLayouter