It's all about the answers!

Ask a question

Doors NG with plantuml


Kalyan Balasa (132) | asked Jul 13, 2:59 p.m.

 These days plantuml is gaining wider usage for uml diagrams. It's a text rendering of uml diagrams.

Doors NG could make a plant uml plugin which then can render uml diagrams views. Is there something available like this for plantuml in doorsng?

Accepted answer


permanent link
Davyd Norris (1.6k12) | answered Jul 14, 7:50 p.m.
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?
Kalyan Balasa selected this answer as the correct answer

2 other answers



permanent link
Ralph Schoon (61.1k33643) | answered Jul 14, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
Kalyan Balasa commented Jul 14, 4:38 a.m. | edited Jul 14, 4:40 a.m.

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:
@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

If we have one such for Doors, it will be great and a helpful feature.


permanent link
Ralph Schoon (61.1k33643) | answered Jul 15, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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 

Your answer


Register or to post your answer.