Code Monkey home page Code Monkey logo

Comments (5)

dgutson avatar dgutson commented on August 9, 2024

Another option is to add the ability to add properties for specific exporters, eg
properties * { for all, and properties "exporter1, exporter2, ..." { for an exporters list.

from export.

dgutson avatar dgutson commented on August 9, 2024

The current behavior is incosistent with other properties such as c4plantuml.tags where the plain plantuml exporter doesn't complain.

from export.

simonbrowndotje avatar simonbrowndotje commented on August 9, 2024

Currently, the c4plantuml exporter gives an error when plantuml.sequenceDiagrams is used, no matter the value.

This doesn't seem to be the case for me, at least with this workspace definition:

workspace {

    model {
        user = person "User"
        softwareSystem = softwareSystem "Software System"

        user -> softwareSystem "Uses"
    }

    views {
        properties {
            "plantuml.sequenceDiagrams" "false"
        }
        dynamic * {
            user -> softwareSystem
        }
    }
    
}
./structurizr.sh export -workspace test.dsl -format plantuml/c4plantuml
Exporting workspace from test.dsl
 - loading workspace from DSL
 - exporting with C4PlantUMLExporter
 - writing /usr/local/structurizr/structurizr-Dynamic-001.puml
 - finished

from export.

dgutson avatar dgutson commented on August 9, 2024

I got this error with my .dsl, I'll try to simplify it:

 - exporting with C4PlantUMLExporter
java.lang.UnsupportedOperationException: Sequence diagrams are not supported by C4-PlantUML
        at com.structurizr.export.plantuml.C4PlantUMLExporter.export(C4PlantUMLExporter.java:239)
        at com.structurizr.export.AbstractDiagramExporter.export(AbstractDiagramExporter.java:64)
        at com.structurizr.cli.export.ExportCommand.run(ExportCommand.java:159)
        at com.structurizr.cli.StructurizrCliApplication.run(StructurizrCliApplication.java:77)
        at com.structurizr.cli.StructurizrCliApplication.main(StructurizrCliApplication.java:112)

from export.

dgutson avatar dgutson commented on August 9, 2024

OK, today setting the property value to false works :) I will file a different issue for the properties depending on the 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.