It's all about the answers!

Ask a question

Doors NG with plantuml

Kalyan Balasa (136) | asked Jul 13 '22, 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 (2.4k217) | answered Jul 14 '22, 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 (63.2k33646) | answered Jul 15 '22, 2:41 a.m.

 You can create an enhancement request. Read here how to. 

If you are interested in developing something on your own, here are the APIs: 

The client extension API would likely be what you want to stat with: 

permanent link
Ralph Schoon (63.2k33646) | answered Jul 14 '22, 3:58 a.m.
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.

Kalyan Balasa commented Jul 14 '22, 4:38 a.m. | edited Jul 14 '22, 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:
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response

All I need then is a view, that can process this plantuml syntax and show this like a diagram as shown in page:

Many plugins of plantuml are available:

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

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.