Package net.sourceforge.plantuml.mindmap
Class MindMapDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.TitledDiagram
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.mindmap.MindMapDiagram
-
- All Implemented Interfaces:
Annotated,Diagram,WithSprite
public class MindMapDiagram extends UmlDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description MindMapDiagram(ThemeStyle style, UmlSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResultaddIdea(java.lang.String stereotype, HColor backColor, int level, Display label, IdeaShape shape)CommandExecutionResultaddIdea(HColor backColor, int level, Display label, IdeaShape shape)CommandExecutionResultaddIdea(HColor backColor, int level, Display label, IdeaShape shape, Direction direction)protected ImageDataexportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)DiagramDescriptiongetDescription()intgetSmartLevel(java.lang.String type)voidsetDefaultDirection(Direction defaultDirection)-
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotation
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
-
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Constructor Detail
-
MindMapDiagram
public MindMapDiagram(ThemeStyle style, UmlSource source)
-
-
Method Detail
-
setDefaultDirection
public final void setDefaultDirection(Direction defaultDirection)
-
getDescription
public DiagramDescription getDescription()
-
exportDiagramInternal
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramInternalin classUmlDiagram- Throws:
java.io.IOException
-
addIdea
public CommandExecutionResult addIdea(HColor backColor, int level, Display label, IdeaShape shape)
-
addIdea
public CommandExecutionResult addIdea(HColor backColor, int level, Display label, IdeaShape shape, Direction direction)
-
addIdea
public CommandExecutionResult addIdea(java.lang.String stereotype, HColor backColor, int level, Display label, IdeaShape shape)
-
getSmartLevel
public int getSmartLevel(java.lang.String type)
-
-