Class ActivityDiagramLayouter
java.lang.Object
com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.AbstractHierarchicDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
com.nomagic.magicdraw.uml.symbols.layout.activity.ActivityDiagramLayouter
- All Implemented Interfaces:
DiagramLayouter
,Cloneable
- Direct Known Subclasses:
BusinessProcessDiagramLayouter
Automatic layouter specialized for activity diagram layouting. It is used as a default layouter
for activity diagrams and diagrams, based on activity diagram.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
layout
(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Layouts a diagramMethods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
createGraph, getSelected
-
Constructor Details
-
ActivityDiagramLayouter
@OpenApi public ActivityDiagramLayouter() -
ActivityDiagramLayouter
Construct ActivityDiagramLayouter- Parameters:
optionId
- activity diagram layouter options id
-
-
Method Details
-
layout
@OpenApi protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, AbstractDiagramPresentationElement dpe, BaseGraph graph) Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Overrides:
layout
in classAbstractHierarchicDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-