Java module graph png settings?

Martin Lehmann martin.lehmann at
Wed Dec 21 09:12:02 UTC 2016

Hi Patrick,

you might be interested to have a look at a small tool "depvis" which I wrote together with a few colleagues.
Tested with b144 and GraphViz 2.38.

DepVis does also create GraphViz DOT files for Jigsaw module relationships and takes their various dependencies and relationships into account.

For an example (= the graph of JDK9 system modules) see 

Features (all configurable to de/activate):
1. It prints different graph edges for 
- requires relationships
- requires transitive relationships (1-transitive)
- requires mandated relationships
- directed exports (i.e. exports to) relationships
2. It prints different graph nodes for different modules (explicit, open, automatic).
3. It can filter out modules based on their names (with blacklists, wildcards and whitelists)
4. Optional legend

More ideas to come, see 

Any feedback much appreciated and welcome!


-----Original Message-----
From: jigsaw-dev [mailto:jigsaw-dev-bounces at] On Behalf Of Mandy Chung
Sent: Saturday, December 10, 2016 7:12 AM
To: Patrick Reinhart <patrick at>
Cc: jigsaw-dev <jigsaw-dev at>
Subject: Re: Java module graph png settings?

dot -Tpng


> On Dec 9, 2016, at 4:58 PM, Patrick Reinhart <patrick at> wrote:
> Hi Mandy,
> Can you tell me what options with the Graphviz framework are to get the actual PNG file out of the file? I tried to find this, but did not find the actual place.
> -Patrick
>> Am 08.12.2016 um 07:18 schrieb Mandy Chung <mandy.chung at>:
>> Hi Patrick
>> Are you looking for:
>> Mandy
>>> On Dec 7, 2016, at 1:17 PM, Patrick Reinhart <patrick at> wrote:
>>> Can anyone point me to the place, where the java module dependencies are created? I would like to do something similar and I curious how it’s being done exactly…
>>> Thanks very much
>>> -Patrick

More information about the jigsaw-dev mailing list