I am creating an interface for drawing a flowchart, for example diagrams (essentially diagrams) that contain nodes that look like this:
+-------+ in1 -->| |---> out1 | | in2 -->| | | | in3 -->| |---> out2 +-------+
i.e. each block has several input ribs and several output ribs. For visual clarity, this makes sense if all input edges are grouped on one side and all output edges are grouped on the other.
The interface will include a user connecting the inputs and outputs of different boxes together.
I am trying to find a Java library that will help me easily build such an interface that will also have automatic layout tools to keep the diagrams clean. http://www.jgraph.com/ and http://jung.sourceforge.net/ look as if they will do most of what I need, but I'm not sure if the nodes look like shown above where inputs and outputs are grouped together. For example, I do not see how to do this with the JUNG.
Can anyone suggest which library to use, and what can I do to make the nodes look like the ones above?
source share