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(HColor backColor, int level, Display label, IdeaShape shape)
CommandExecutionResult
addIdea(HColor backColor, int level, Display label, IdeaShape shape, boolean direction)
CommandExecutionResult
addIdea(Stereotype stereotype, HColor backColor, int level, Display label, IdeaShape shape)
protected ImageData
exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)
DiagramDescription
getDescription()
int
getSmartLevel(java.lang.String type)
protected TextBlock
getTextMainBlock(FileFormatOption fileFormatOption)
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, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical, startingPass
-
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, exportDiagramGraphic, 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(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
java.io.IOException
-
getTextMainBlock
protected TextBlock getTextMainBlock(FileFormatOption fileFormatOption)
- Specified by:
getTextMainBlock
in classTitledDiagram
-
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(Stereotype stereotype, HColor backColor, int level, Display label, IdeaShape shape)
-
getSmartLevel
public int getSmartLevel(java.lang.String type)
-
-