-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support for image
views or option to ignore such views
#625
Comments
I just tested this and it seems to be working fine. The only difference between what I did and what you have above is that I set the plantUML Generator URL to a real url and not localHost:8888 "plantuml.url" "https://plantuml.com/plantuml" the localhost:8888 in the documentation is only valid if you have a PlantUML generator running locally on that port. |
I have a working backend PlantUML backend running locally. All my PlantUML diagrams are fine in structurizr-lite's structurizr-ui.
I am also using the docker variant to execute Does generatr require direct access to the PlantUML endpoint to work? The exception message |
yes, this seems to be more of a docker config issue. You are on the correct line of thought to build out a new network bridge to run all these containers in, give the containers names and then in the view property you should be able to reference the PlantUML container by name instead of localhost. |
Ok, I noticed that generate-site in my setup actually works fine with my PlantUML sequence diagrams, but fails (only) with state diagrams. So I can rule out problems with the setup. It is reprodcuible with this simple plantuml state diagram: @startuml "my-state-machine"
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string
State1 -> State2
State2 --> [*]
@enduml Can you give this a try in your environment? |
Structurizr supports to integrate with PlantUML (or other plugins like Mermaid) by defining an
image
-view (see structurizr docs).Do you have any plans to support or add an option to ignore those
image
-views?At this moment, the
generate-site
command will fail when such a view is defined:The text was updated successfully, but these errors were encountered: