Hello everyone,
I´m having some trouble generating correct class diagrams with plantUML and Smetana/jdot in the plantUML eclipse plugin. When using Smetana/jdot, it inserts “random” associations between classes, as well as not showing arrow heads of any kind.
I am using the current plugin version 1.1.22 (eclipse marketplace version), but the plugin jar is named with suffix 1.1.24 (although this seems to be a problem with Smetana/jdot, not the plugin in particular).
The following plantUML code
@startuml
!pragma graphviz_dot jdot
class A
class B
class C
@enduml
produces this output | where of course this output is expected |
 |  |
I am using plantUML for a university project, so I have some fixed constraints given, so I can not simply switch to a regular GraphViz installation or vizjs. There must not be any additional software installed and my product must be shipped as one plugin for eclipse IDE. However any plugins that can be installed through the eclipse marketplace may be used.
I already looked at some options to solve this myself:
GraphViz source code is openly available, so I thought about taking the DOT code (as far as I understand, that is the only part from GraphViz needed to calculate node positions) and somehow connecting plantUML with it directly
This forum post suggests using portable versions of GraphViz, but how can these be connected to the plantUML Plugin?
- This stackoverflow post suggests that there are different eclipse plugins containing versions of GraphViz, would it be possible to use these for the plantUML plugin?
It would be very helpful if you could comment on my ideas or point out a different approach if you know some way to solve this.
Thank you for the help and keep up the great work!