Skip to content

Commit

Permalink
structurizr-graphviz -> structurizr-autolayout (because the former ha…
Browse files Browse the repository at this point in the history
…s version numbers 2.0.0+)
  • Loading branch information
simonbrowndotje committed Jan 10, 2024
1 parent 9162b16 commit 538a51e
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew -x :structurizr-graphviz:test
run: ./gradlew -x :structurizr-autolayout:test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This repository contains the source code for the following libraries:
- [structurizr-dsl](structurizr-dsl)
- [structurizr-export](structurizr-export)
- [structurizr-import](structurizr-import)
- [structurizr-graphviz](structurizr-graphviz)
- [structurizr-autolayout](structurizr-autolayout)
- [structurizr-assistant](structurizr-assistant)

- [Documentation](https://docs.structurizr.com)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ include 'structurizr-client'
include 'structurizr-core'
include 'structurizr-dsl'
include 'structurizr-export'
include 'structurizr-graphviz'
include 'structurizr-autolayout'
include 'structurizr-import'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# structurizr-graphviz
# structurizr-autolayout

[![Maven Central](https://img.shields.io/maven-central/v/com.structurizr/structurizr-graphviz.svg?label=Maven%20Central)](https://search.maven.org/artifact/com.structurizr/structurizr-graphviz)
[![Maven Central](https://img.shields.io/maven-central/v/com.structurizr/structurizr-autolayout.svg?label=Maven%20Central)](https://search.maven.org/artifact/com.structurizr/structurizr-autolayout)

This library provides automatic facilities for Structurizr views.
It's a wrapper around the [Graphviz tool](http://www.graphviz.org),
Expand All @@ -17,7 +17,7 @@ GraphvizAutomaticLayout graphviz = new GraphvizAutomaticLayout();
graphviz.apply(workspace);
```

The ```structurizr-graphviz``` library does the following for every view in the workspace:
The ```structurizr-autolayout``` library does the following for every view in the workspace:

1. Export the view to a DOT file.
2. Run Graphviz (via the ```dot``` command), with the output format set to SVG.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

/**
* Some constants used when applying graphviz.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.export.Diagram;
import com.structurizr.view.ModelView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.export.AbstractDiagramExporter;
import com.structurizr.export.Diagram;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.Workspace;
import com.structurizr.export.Diagram;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

/**
* The various rank directions used by graphviz.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.model.DeploymentNode;
import com.structurizr.model.Element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.Workspace;
import com.structurizr.autolayout.graphviz.DOTExporter;
import com.structurizr.autolayout.graphviz.RankDirection;
import com.structurizr.export.Diagram;
import com.structurizr.model.*;
import com.structurizr.util.WorkspaceUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.Workspace;
import com.structurizr.autolayout.graphviz.GraphvizAutomaticLayout;
import com.structurizr.model.Person;
import com.structurizr.model.SoftwareSystem;
import com.structurizr.model.Tags;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package com.structurizr.graphviz;
package com.structurizr.autolayout.graphviz;

import com.structurizr.Workspace;
import com.structurizr.model.Location;
import com.structurizr.autolayout.graphviz.SVGReader;
import com.structurizr.model.Person;
import com.structurizr.model.SoftwareSystem;
import com.structurizr.model.Tags;
import com.structurizr.util.WorkspaceUtils;
import com.structurizr.view.PaperSize;
import com.structurizr.view.Shape;
import com.structurizr.view.SystemContextView;
Expand Down

0 comments on commit 538a51e

Please sign in to comment.