@OpenApiAll
public final class LayoutManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DiagramLayouter |
getDefaultLayouter(java.lang.String diagramType)
Get default diagram layouter.
|
static LayoutManager |
getInstance() |
static boolean |
isSupported()
Check the layouter is supported.
|
void |
registerDefaultLayouter(java.lang.String diagramType,
DiagramLayouter layouter)
Register the given DiagramLayouter to be default layouter.
|
public static LayoutManager getInstance()
public DiagramLayouter getDefaultLayouter(java.lang.String diagramType)
diagramType
- The specify diagram type.public void registerDefaultLayouter(java.lang.String diagramType, DiagramLayouter layouter)
diagramType
- diagram typelayouter
- layouterpublic static boolean isSupported()