I am looking for a library with which I can visualize arrangement of components of a system. The output would have following requirements:
-
The Nodes of the graph should be able to contain some sub-nodes.
-
As the graph is weighted, I would like if I can specify the width of the edges or separate them using colours(if width is not possible).
The following a rough sketch of what I want.

I have looked at a couple of posts and other google results to find certain libraries like JUNG, GraphStream. But, as I have a deadline I cannot explore each of the libraries.
Guys, can you please suggest me a library (Java-preferred) to do this kind of visualization.
GraphViz might be good for this task. It’s a simple text-based language for describing graph visualizations, including attributes such as edge width. Since it’s text-based, it’s easy to generate in any language, including Java (I’ve once generated a pretty complex graph from a bash script). There are libraries which make it possible to display graphs in GrahpViz format, for example idot. Also, check out the Resources page on GraphViz site, they list some additional Java resources which might be useful.