Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Doors NG with plantuml

 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?

0 votes


Accepted answer

Permanent link
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

0 votes


2 other answers

Permanent link
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.

0 votes

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

 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 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 13 '22, 2:59 p.m.

Question was seen: 1,522 times

Last updated: Jul 15 '22, 2:41 a.m.

Confirmation Cancel Confirm