Doors NG with plantuml
Accepted answer
You could build something quite easily using the RM API:
- examine the selected artefact to determine if it's an artefact or type that contains plantuml
- extract the text
- send it off to the plantuml server for rendering
- take the result and display in the widget, or save as an image and link to the original
But, like Ralph said, I don't know how useful it would be. DNG has a really nice drawing tool that does all the UML you need, and it allows linking of artefacts to individual elements on the diagram. You can update the diagrams without leaving the tool. Why would you spend all that time trying to draw a diagram with words when you can simply draw the diagram and have a whole lot of added value as well?
2 other answers
I have never heard about that product. There is no integration available I am aware of. It is unclear what such an integration should be able to do.
Similar to our integration with Rhapsody Model Manager, an OSLC Integration might be possible. It would be up to the other product to make such an integration available.
Comments
Hi Ralph,
PlantUML is a tool that allows creating UML diagrams in code like syntax. Sometimes its useful to represent the RM data using some UML diagrams. So, if we imagine that we use an element to paste this plantuml code, we need a view that can render this code into UML diagrams and display to the user.
For example, imagine in the DoorsNG artefacts, I have an element where I can write a code like this:
For example, imagine in the DoorsNG artefacts, I have an element where I can write a code like this:
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response
@enduml
All I need then is a view, that can process this plantuml syntax and show this like a diagram as shown in page:
https://plantuml.com/sequence-diagram
Many plugins of plantuml are available:
https://plantuml.com/running
https://plantuml.com/sequence-diagram
Many plugins of plantuml are available:
https://plantuml.com/running
If we have one such for Doors, it will be great and a helpful feature.
You can create an enhancement request. Read here how to. https://jazz.net/blog/index.php/2021/09/07/you-spoke-we-listened-were-changing-the-way-ideas-are-submitted-to-ibm/
If you are interested in developing something on your own, here are the APIs: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
The client extension API would likely be what you want to stat with: https://jazz.net/wiki/bin/view/Main/RMExtensionsMain