Skip to content
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

Structurizr plantuml sequence diagram #104

Closed
pyssling opened this issue Aug 27, 2018 · 4 comments
Closed

Structurizr plantuml sequence diagram #104

pyssling opened this issue Aug 27, 2018 · 4 comments

Comments

@pyssling
Copy link

I just exported a DynamicView from structurizr as plantuml and was surprised that this did not generate a plantuml sequence diagram. I wouldn't directly consider this a bug, but I definitely feel that it would be good if it could.

Was the choice to not export a sequence diagram intentional? I could probably contribute a fix that makes it generate sequence diagrams, but I'd first like to know if this is wanted behavior. Or maybe there should be an option?

@pyssling
Copy link
Author

@roxspring Maybe you would like to comment?

@roxspring
Copy link
Contributor

Does the c4 model even advocate sequence diagrams?

I guess it could be an option to generate sequence diagrams from a dynamic view model... if all the requisite information is present. Hasn’t been a need for me so far which goes some way to explaining why I haven’t tried this yet!

@simonbrowndotje
Copy link
Contributor

simonbrowndotje commented Aug 27, 2018

I actually don't use the PlantUML support myself, and when I put the initial version together, I guess I just opted to create something like a collaboration diagram. Funnily enough there's support for WebSequenceDiagrams, which I also created, but not sequence diagrams in PlantUML. Feel free to submit a PR.

@pyssling
Copy link
Author

#105 has this improvement. I'll try to add support for parallel sequences later.

C4 doesn't really go into depth on this, but there are a lot of features of sequence diagrams which I would like to see, like alternate flows for example. PlantUML has a much richer vocabulary (for better and worse) than structurizr here, and it would be fun to support more of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants