Class ActivityDiagramLayouter
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.HierarchicDiagramLayouter
-
- com.nomagic.magicdraw.uml.symbols.layout.activity.ActivityDiagramLayouter
-
- All Implemented Interfaces:
DiagramLayouter
,java.lang.Cloneable
- Direct Known Subclasses:
BusinessProcessDiagramLayouter
@OpenApi public class ActivityDiagramLayouter extends HierarchicDiagramLayouter
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
Constructors Constructor Description ActivityDiagramLayouter()
ActivityDiagramLayouter(java.lang.String optionId)
Construct ActivityDiagramLayouter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
Layouts a diagram-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.AbstractDiagramLayouter
createGraph, createGraph, getSelected, isTypeSupported
-
-
-
-
Method Detail
-
layout
@OpenApi protected boolean layout(AbstractDiagramLayouterOptionsGroup opt, DiagramPresentationElement dpe, UMLGraph graph)
Description copied from class:AbstractDiagramLayouter
Layouts a diagram- Overrides:
layout
in classHierarchicDiagramLayouter
- Parameters:
opt
- layouter optionsdpe
- diagram to layoutgraph
- a constructed graph from the diagram- Returns:
- true if it was layouted successfully , false otherwise.
-
-