Closed souliane closed 2 years ago
You could do something like this:
graphviz.dsl
), that extends your JSON workspace, and applies graphviz.workspace extends workspace.json {
!script groovy {
new com.structurizr.graphviz.GraphvizAutomaticLayout().apply(workspace);
}
}
./structurizr.sh export -workspace graphviz.dsl -format json
Awesome! Thank you.
Hello,
I have a JSON representation of a workspace and I would like to automatically fill the
x
andy
attributes of the view's components (for example with Graphviz). Is it possible to do that with the cli or do I need to use https://github.com/structurizr/java-extensions/tree/master/structurizr-graphviz directly?(Ideally, an option to the export command could do this)