Code Monkey home page Code Monkey logo

Comments (2)

plgregoire avatar plgregoire commented on September 14, 2024

I agree that having some kind of control over the layout of the diagram would be nice.
In some case it really increase the readibility of the generated diagram like in the following example

Rel_D(Box3, Box7, "", $tags="Relationship")
Rel_D(Box4, Box7, "", $tags="Relationship")
Rel_D(Box3, Box6, "", $tags="Relationship")
Rel_D(Box4, Box6, "", $tags="Relationship")
Rel_D(Box2, Box6, "", $tags="Relationship")
Rel_D(Box2, Box7, "", $tags="Relationship")
Rel_D(Box2, Box1, "", $tags="Relationship")
Rel_D(Box1, Box8, "", $tags="Relationship")
Rel_D(Box5, Box1, "", $tags="Relationship")
Rel_D(Box5, Box2, "", $tags="Relationship")
Rel_D(Box9, Box7, "", $tags="Relationship")
Rel_D(Box9, Box6, "", $tags="Relationship")

image

versus

Rel_D(Box3, Box7, "", $tags="Relationship")
Rel_D(Box4, Box7, "", $tags="Relationship")
Rel_U(Box3, Box6, "", $tags="Relationship")
Rel_U(Box4, Box6, "", $tags="Relationship")
Rel_U(Box2, Box6, "", $tags="Relationship")
Rel_D(Box2, Box7, "", $tags="Relationship")
Rel_D(Box2, Box1, "", $tags="Relationship")
Rel_D(Box1, Box8, "", $tags="Relationship")
Rel_D(Box5, Box1, "", $tags="Relationship")
Rel_D(Box5, Box2, "", $tags="Relationship")
Rel_D(Box9, Box7, "", $tags="Relationship")
Rel_U(Box9, Box6, "", $tags="Relationship")

image

In this particular case I wish I had the possibility to define the relation direction for a particular view with a syntax similar to this

<*|identifier|expression> <RelDown|RelUp|RelRight|RelLeft> <*|identifier|expression>
views {
    container theSystem "ContainerDiagram" {
        include *
        * RelUp Box6
    }
}

from export.

simonbrowndotje avatar simonbrowndotje commented on September 14, 2024

This might be interesting for anybody looking for a solution to this issue -> https://github.com/matdurand/structurizr-c4plantuml-layout-exporter

from export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.