question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] PlantUML Comment support

See original GitHub issue

To start out with i would like to say I’m a big fan of the project, and really love what you are doing here. 😃

Overview of the issue

Often when designing or documenting software, a series of diagrams can help visualize the flow, for example a sequence diagram can show how a service acts when called. And If one is using Microsoft Visio or similar software, it can be hard to merge/track in a version control system. So developers have created a piece of software called http://plantuml.com/ which takes a text input and outputs a diagram.

So, the feature would be to support a comment tag that either points to a file or inline’s the plant-uml code. Could look something like:

/** @diagram LikeCallFlow
 *   Bob->Alice : hello
 */

or

/** @diagram LikeCallFlow ./LikeCallFlow.uml
 */

Which would then output the diagram with the given title on a service or component compodoc page.

There’s already a package for PlantUML on npm, node-plantuml which may be of use. It does depend on Graphviz which i can understand may be a big dependency to have (#313). But a solution could be to have Graphviz as an optional dependency, thereby giving only users with it the features, along the lines of what Doxygen does.

Related issues

https://github.com/compodoc/compodoc/issues/313

I, of course wouldn’t mind help implement this. But it does seem like a rather large feature which may need some discussion before beginning 😃

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
stale[bot]commented, Dec 7, 2019

This issue has been automatically closed because it has not had recent activity. Please file a new issue if you are encountering a similar or related problem. Thank you for your contributions.

1reaction
stale[bot]commented, Nov 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sequence Diagram syntax and features - PlantUML
PlantUML sequence diagram syntax: You can have several kinds of participants (actors and others), arrows, notes, groups... Changing fonts and colors is also ......
Read more >
Is it possible to comment out lines of diagram syntax?
Yes, you can indeed add a more clear sentence to the documentation. This is 100% open. ... PlantUML is a free, collaborative and...
Read more >
PlantUML Language Reference Guide
Please note that you should not abuse this functionality : Graphviz gives usually ... Salt is a subproject included in PlantUML that may...
Read more >
PlantUML Tips and Tricks - Codit
One of the best features of sequence diagrams is the autonumber feature ... This was not easy to find, but PlantUML skinning supports...
Read more >
GitLab Flavored Markdown (GLFM)
To make PlantUML available in self-managed installation of GitLab, a GitLab ... In issues, merge requests, and comments, you can select the boxes....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found