Package net.sourceforge.plantuml.nwdiag
Class NwDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.TitledDiagram
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.nwdiag.NwDiagram
-
- All Implemented Interfaces:
Annotated
,Diagram
,WithSprite
public class NwDiagram extends UmlDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description NwDiagram(ThemeStyle style, UmlSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandExecutionResult
addElement(String name, String definition)
CommandExecutionResult
closeSomething()
protected ImageData
exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption)
ClockwiseTopRightBottomLeft
getDefaultMargins()
DiagramDescription
getDescription()
void
init()
CommandExecutionResult
link(String name1, String name2)
CommandExecutionResult
openGroup(String name)
CommandExecutionResult
openNetwork(String name)
CommandExecutionResult
setProperty(String property, String value)
-
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, 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
-
NwDiagram
public NwDiagram(ThemeStyle style, UmlSource source)
-
-
Method Detail
-
getDescription
public DiagramDescription getDescription()
-
init
public void init()
-
openGroup
public CommandExecutionResult openGroup(String name)
-
openNetwork
public CommandExecutionResult openNetwork(String name)
-
closeSomething
public CommandExecutionResult closeSomething()
-
link
public CommandExecutionResult link(String name1, String name2)
-
addElement
public CommandExecutionResult addElement(String name, String definition)
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
IOException
-
setProperty
public CommandExecutionResult setProperty(String property, String value)
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMargins
in classTitledDiagram
-
-