1

A stakeholder asked me diagrams that explains how the source code of a Codename One app I’m writing works. It’s a generic question about diagrams... and it seems mission impossible to do by hand: currently I’ve already written about 50k lines of code for this app... Do you know any automatic tool that works fine with the sources of a Codename One app to make printable diagrams (any type of diagram that helps to understand how the code works)?

Thank you

Francesco Galgani
  • 6,137
  • 3
  • 20
  • 23
  • 1
    I haven't used those in years as they don't explain as much. Back in the day the netbeans diagram tools worked. However, I think you might be better off grabbing diagrams from my books free chapters here: https://uber.cn1.co/ there are a few high level diagrams that explain things way better than UML e.g. pages 27, 28, 29, 38, 46/7 (layout managers) etc. – Shai Almog Oct 14 '19 at 01:35
  • Thank you Shai, the diagrams in your book are a good starting point to try to explain how the code works. I've just also seen few other interesting high level diagrams in the full version of your book. – Francesco Galgani Oct 14 '19 at 15:53
  • If you need higher quality source images of the diagrams just send me a low quality scan of the image and I'll try and locate the source image in my materials. – Shai Almog Oct 15 '19 at 01:46
  • Thank you very much: it’s not necessary, Gimp allowed me to export images at 300 dpi, that is a good quality. – Francesco Galgani Oct 15 '19 at 14:22

1 Answers1

1

If the language is Java, then you can have a lot of UML makers out there

Use IntelliJ to generate class diagram will help if you are using an IDE.

Doc
  • 10,831
  • 3
  • 39
  • 63