Structurizr for Java


License

License

Categories

Categories

Ant Build Tools UML Business Logic Libraries Documents Processing
GroupId

GroupId

com.structurizr
ArtifactId

ArtifactId

structurizr-plantuml
Last Version

Last Version

1.6.3
Release Date

Release Date

Type

Type

jar
Description

Description

Structurizr for Java
Structurizr for Java
Project URL

Project URL

https://github.com/structurizr/java
Source Code Management

Source Code Management

https://github.com/structurizr/java

Download structurizr-plantuml

How to add to project

<!-- https://jarcasting.com/artifacts/com.structurizr/structurizr-plantuml/ -->
<dependency>
    <groupId>com.structurizr</groupId>
    <artifactId>structurizr-plantuml</artifactId>
    <version>1.6.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.structurizr/structurizr-plantuml/
implementation 'com.structurizr:structurizr-plantuml:1.6.3'
// https://jarcasting.com/artifacts/com.structurizr/structurizr-plantuml/
implementation ("com.structurizr:structurizr-plantuml:1.6.3")
'com.structurizr:structurizr-plantuml:jar:1.6.3'
<dependency org="com.structurizr" name="structurizr-plantuml" rev="1.6.3">
  <artifact name="structurizr-plantuml" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.structurizr', module='structurizr-plantuml', version='1.6.3')
)
libraryDependencies += "com.structurizr" % "structurizr-plantuml" % "1.6.3"
[com.structurizr/structurizr-plantuml "1.6.3"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.code.findbugs : jsr305 jar 3.0.2
com.structurizr : structurizr-core jar 1.9.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.4.0
com.structurizr : structurizr-client jar 1.9.1

Project Modules

There are no modules declared in this project.

Structurizr

Structurizr for Java

This GitHub repository is an official client library for the Structurizr cloud service and on-premises installation, both of which are web-based publishing platforms for software architecture models based upon the C4 model. The component finder, adr-tools importer, and alternative diagram export formats (e.g. PlantUML) can be found at Structurizr for Java extensions.

A quick example

As an example, the following Java code can be used to create a software architecture model and an associated view that describes a user using a software system.

public static void main(String[] args) throws Exception {
    Workspace workspace = new Workspace("Getting Started", "This is a model of my software system.");
    Model model = workspace.getModel();
    
    Person user = model.addPerson("User", "A user of my software system.");
    SoftwareSystem softwareSystem = model.addSoftwareSystem("Software System", "My software system.");
    user.uses(softwareSystem, "Uses");
    
    ViewSet views = workspace.getViews();
    SystemContextView contextView = views.createSystemContextView(softwareSystem, "SystemContext", "An example of a System Context diagram.");
    contextView.addAllSoftwareSystems();
    contextView.addAllPeople();
}

The view can then be exported to be visualised using the Structurizr cloud service/on-premises installation, or other formats including PlantUML and WebSequenceDiagrams via the Structurizr for Java extensions.

Views can be exported and visualised in many ways; e.g. PlantUML, Structurizr and Graphviz

Table of contents

Build Status

com.structurizr

Structurizr client libraries, tooling and integrations

Visualise, document and explore your software architecture.

Versions

Version
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
1.0.0-RC7
1.0.0-RC6
1.0.0-RC5