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(UmlSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResult
addIdea(String stereotype, HColor backColor, int level, Display label, IdeaShape shape)
CommandExecutionResult
addIdea(HColor backColor, int level, Display label, IdeaShape shape)
CommandExecutionResult
addIdea(HColor backColor, int level, Display label, IdeaShape shape, boolean direction)
protected ImageData
exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption)
DiagramDescription
getDescription()
int
getSmartLevel(String type)
void
setDefaultDirection(Direction direction)
-
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, muteColorMapper, 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(UmlSource source)
-
-
Method Detail
-
setDefaultDirection
public final void setDefaultDirection(Direction direction)
-
getDescription
public DiagramDescription getDescription()
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
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, boolean direction)
-
addIdea
public CommandExecutionResult addIdea(String stereotype, HColor backColor, int level, Display label, IdeaShape shape)
-
getSmartLevel
public int getSmartLevel(String type)
-
-