Class WebSequenceDiagramsExporter
java.lang.Object
com.structurizr.export.AbstractExporter
com.structurizr.export.AbstractDiagramExporter
com.structurizr.export.websequencediagrams.WebSequenceDiagramsExporter
- All Implemented Interfaces:
DiagramExporter,Exporter
Exports dynamic diagram definitions that can be copy-pasted
into https://www.websequencediagrams.com
This implementation only supports a basic sequence of interactions,
both synchronous and asynchronous. It doesn't support return messages,
parallel behaviour, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DiagramcreateDiagram(com.structurizr.view.View view, String definition) protected voidendContainerBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendDeploymentNodeBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendEnterpriseBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendGroupBoundary(com.structurizr.view.View view, IndentingWriter writer) protected voidendSoftwareSystemBoundary(com.structurizr.view.View view, IndentingWriter writer) export(com.structurizr.view.ComponentView view) export(com.structurizr.view.ContainerView view) export(com.structurizr.view.DeploymentView view) export(com.structurizr.view.DynamicView view) export(com.structurizr.view.SystemContextView view) export(com.structurizr.view.SystemLandscapeView view) protected voidstartContainerBoundary(com.structurizr.view.View view, com.structurizr.model.Container container, IndentingWriter writer) protected voidstartDeploymentNodeBoundary(com.structurizr.view.DeploymentView view, com.structurizr.model.DeploymentNode deploymentNode, IndentingWriter writer) protected voidstartEnterpriseBoundary(com.structurizr.view.View view, String enterpriseName, IndentingWriter writer) protected voidstartGroupBoundary(com.structurizr.view.View view, String group, IndentingWriter writer) protected voidstartSoftwareSystemBoundary(com.structurizr.view.View view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) protected voidwriteElement(com.structurizr.view.View view, com.structurizr.model.Element element, IndentingWriter writer) protected voidwriteFooter(com.structurizr.view.View view, IndentingWriter writer) protected voidwriteHeader(com.structurizr.view.View view, IndentingWriter writer) protected voidwriteRelationship(com.structurizr.view.View view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) Methods inherited from class com.structurizr.export.AbstractDiagramExporter
createLegend, export, export, export, export, export, export, getBoundaryContainers, getBoundarySoftwareSystems, getViewOrViewSetProperty, isAnimationSupported, isVisible, isVisible, writeElements, writeRelationshipsMethods inherited from class com.structurizr.export.AbstractExporter
breakText, findElementStyle, findRelationshipStyle, hasValue, typeOf, typeOf
-
Constructor Details
-
WebSequenceDiagramsExporter
public WebSequenceDiagramsExporter()
-
-
Method Details
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
export
- Overrides:
exportin classAbstractDiagramExporter
-
writeHeader
- Specified by:
writeHeaderin classAbstractDiagramExporter
-
startEnterpriseBoundary
protected void startEnterpriseBoundary(com.structurizr.view.View view, String enterpriseName, IndentingWriter writer) - Specified by:
startEnterpriseBoundaryin classAbstractDiagramExporter
-
endEnterpriseBoundary
- Specified by:
endEnterpriseBoundaryin classAbstractDiagramExporter
-
startGroupBoundary
protected void startGroupBoundary(com.structurizr.view.View view, String group, IndentingWriter writer) - Specified by:
startGroupBoundaryin classAbstractDiagramExporter
-
endGroupBoundary
- Specified by:
endGroupBoundaryin classAbstractDiagramExporter
-
startSoftwareSystemBoundary
protected void startSoftwareSystemBoundary(com.structurizr.view.View view, com.structurizr.model.SoftwareSystem softwareSystem, IndentingWriter writer) - Specified by:
startSoftwareSystemBoundaryin classAbstractDiagramExporter
-
endSoftwareSystemBoundary
- Specified by:
endSoftwareSystemBoundaryin classAbstractDiagramExporter
-
startContainerBoundary
protected void startContainerBoundary(com.structurizr.view.View view, com.structurizr.model.Container container, IndentingWriter writer) - Specified by:
startContainerBoundaryin classAbstractDiagramExporter
-
endContainerBoundary
- Specified by:
endContainerBoundaryin classAbstractDiagramExporter
-
startDeploymentNodeBoundary
protected void startDeploymentNodeBoundary(com.structurizr.view.DeploymentView view, com.structurizr.model.DeploymentNode deploymentNode, IndentingWriter writer) - Specified by:
startDeploymentNodeBoundaryin classAbstractDiagramExporter
-
endDeploymentNodeBoundary
- Specified by:
endDeploymentNodeBoundaryin classAbstractDiagramExporter
-
writeElement
protected void writeElement(com.structurizr.view.View view, com.structurizr.model.Element element, IndentingWriter writer) - Specified by:
writeElementin classAbstractDiagramExporter
-
writeRelationship
protected void writeRelationship(com.structurizr.view.View view, com.structurizr.view.RelationshipView relationshipView, IndentingWriter writer) - Specified by:
writeRelationshipin classAbstractDiagramExporter
-
createDiagram
- Specified by:
createDiagramin classAbstractDiagramExporter
-