What can I do to beautify a generated dot image using PlantUML plugin ?

0 votes
asked Nov 8, 2018 in Question / help by mohanr (180 points)

'JDeps' is a JDK utility to generate .dot files showing code dependencies.

It is like this.

digraph "summary" {
  "cxf-api-2.1.3.jar"                                -> "java.activation (java.activation)";
  "cxf-api-2.1.3.jar"                                -> "java.base (java.base)";
  "cxf-api-2.1.3.jar"                                -> "java.logging (java.logging)";
  "cxf-api-2.1.3.jar"                                -> "java.xml (java.xml)";
  "cxf-api-2.1.3.jar"                                -> "java.xml.bind (java.xml.bind)";
  "cxf-api-2.1.3.jar"                                -> "not found";
}
If I have large files then the PlantUML plugin ( IntelliJ ) generates a large image with improper space between nodes. It is very cluttered.
I tried to add these without effect.
skinparam nodesep 100
skinparam ranksep 200

scale 180*90
scale 2/3
What can I do to beautify this image with minimal changes ? Please note that this diagram can have hundreds or thousands of nodes.
commented Nov 8, 2018 by albert (3,520 points)
Did you try to save the resulting digraph? If so please feed it to a recent version of plantuml  either locally or in tpe plantuml webserver (http://www.plantuml.com/plantuml). I don't know which version you are using so it is hard to guess the source of the problem. Maybe also try to feed the saved file in the dot tool (either locally or in http://www.webgraphviz.com/).
commented Nov 8, 2018 by mohanr (180 points)
edited Nov 8, 2018 by mohanr
This is the webserver feed URL. That is too long.

http://www.plantuml.com/plantuml/uml/lPt1RkCs443l_Wf1fxH0M2Vf8KM1Od-5biOs7OfKISfHKFJVwpMuYb10MEspkJqKZM6-PqkZuN0ekLzYqY4DdTsqvX1qVwnEEbJ_RAgggdquADthvYYg6VTrzVr_7l-gwfC-QsLyzN3zZvsEyalzvwqygztX_aGLP6-bIVSb3ydO-nELzOU3cOv2_kiM-Fz7LG-NVptgtZm-goVreauwt1ElTaEqPY_DHsEbjAlnNUUTQgoEqNhTIgWUd4_LtW-kBM4oJw-ki2AVyb8MuvA4HlhaG-cpynwLRjiWCHftA2zhxMg7sXdN6dUeULA2H7Wj8lmqghH6NDjxunBtb8jTgEeaHdsGqfeeuMoQdwLHdM_5bfQbe5tiV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q7XK8jaqYehGB09aKHrJwciG_827WZyJMV038WyRBbiOjLxtxiFRtuCCGf8F889L980lZVg1upA_FFXw7H8xdOwSo2DzcKWNq00Eddr6wFczZCZ2Qpg01ijpOE7JBD3mcG-85aP1cJe_RxU_Rrzgb140CMS4H0GP0H31HGlG_AA5bijetIS9yHOTpX40lMRKRL7_og8U47dKluAe1qGIzG1zbwX_vL6FT3pg0NhDA1ZrrnuOtju7n1oZY0XY5A11Z08BY56WGp4Aq2j6eG1TR_nnH--jQJxuqf0JyqK0YE2a0ZJVb0CAy5Gf4F5D9eP7DqiG5LZ200rl-J0PMoy1qJIgfCY9fAF1eSOtVsP8jHkCRIMeanvtDSbpW9Zp72EInWo0yqfY0KtpCq3ptwcc9jwSmPOSHKKKr_TWTedS0aGBetw-jG-cCycSvNOrJwQ0p9Ffz8rhdapN4gTaoeayAI7qz006vuBzLu07jIvGW18Ku47w0IAU282Q9G90vedWybxME0J4AH5W8aW40CtZaOjuF4BrYb4tI_5i2CZW8hW6PCrRA8HuVGSdyaZb8dpcMbkJ7y80F73Q077UJELm_dzX0cGd7CZ3Tvd8LyO8FbxVp6Dr4VdPxuibw7lT91y-C1fq2G2QxJS02zzl03fUNCpH_4VRAHWiNn0tfm06N_6By0NHglL5yV30yv-p1som9WLutjy39h3w1GhUGkIMVArn1N_yYdlOurV0mziI13__3IpEv_jKNCP_xny9-4OO4U4R1xcCtXt0ZDp17_NY0O6Mv02fRBmdzLhUw74LCZy2W1UXWCWh-8pc5Jory0eUw7W53z3y2iMEQTI2wD_D9huPr-kWkyhvLgBqrTDsEtirQFVszTNdowkRs6WhrTFhzjS_jlcFvzzUDb_4jKDd_mC0?switch
commented Nov 8, 2018 by albert (3,520 points)
Maybe have a look athe the stack exchange question: https://stackoverflow.com/questions/53073933/how-to-set-a-graph-filling-area for some ideas.
commented Nov 8, 2018 by mohanr (180 points)
edited Nov 8, 2018 by mohanr
Thanks. It helps but I think I have to research GraphViz syntax. So I assume that PlantUML can't help here. I did see documentation that seemed to mean that I can do this using PlantUML syntax.
commented Nov 8, 2018 by albert (3,520 points)
Might be the case that it is possible directly in plantuml (but I doubt), you can always feed the result to plantuml again. @plantuml are there direct possibilities for this in plantuml?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...