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 CommandExecutionResultaddElement(java.lang.String name, java.lang.String definition)CommandExecutionResultcloseSomething()protected ImageDataexportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)ClockwiseTopRightBottomLeftgetDefaultMargins()DiagramDescriptiongetDescription()voidinit()CommandExecutionResultlink(java.lang.String name1, java.lang.String name2)CommandExecutionResultopenGroup(java.lang.String name)CommandExecutionResultopenNetwork(java.lang.String name)CommandExecutionResultsetProperty(java.lang.String property, java.lang.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(java.lang.String name)
-
openNetwork
public CommandExecutionResult openNetwork(java.lang.String name)
-
closeSomething
public CommandExecutionResult closeSomething()
-
link
public CommandExecutionResult link(java.lang.String name1, java.lang.String name2)
-
addElement
public CommandExecutionResult addElement(java.lang.String name, java.lang.String definition)
-
exportDiagramInternal
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramInternalin classUmlDiagram- Throws:
java.io.IOException
-
setProperty
public CommandExecutionResult setProperty(java.lang.String property, java.lang.String value)
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMarginsin classTitledDiagram
-
-