I have an aggregate view, and in this view can exists a node that is linked with another node with more than one edge. But, in this case, I only see one edge, because the edges that connect these two nodes is overlapping.
How change this situation?
F. Madeiral.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm by no means an expert, but I think the thing to do would be to extend EdgeRenderer so that it draws the edges in a non-overlapping way. When drawing each edge, the EdgeRenderer could consider how many other edges exist between the nodes, and sort them into some consistent order so that it knows the ordinal position of the one it is currently drawing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have an aggregate view, and in this view can exists a node that is linked with another node with more than one edge. But, in this case, I only see one edge, because the edges that connect these two nodes is overlapping.
How change this situation?
F. Madeiral.
I'm by no means an expert, but I think the thing to do would be to extend EdgeRenderer so that it draws the edges in a non-overlapping way. When drawing each edge, the EdgeRenderer could consider how many other edges exist between the nodes, and sort them into some consistent order so that it knows the ordinal position of the one it is currently drawing.
If you search this forum for "multiedge renderer" or similar - if I remember right - you'll find a few discussions and examples.
regards, Björn
Thanks guys. I followed the Björn's suggestion and found this topic: http://sourceforge.net/projects/prefuse/forums/forum/343013/topic/1567009?message=4770769
My problem was solved.
I'm really grateful.
F. Madeiral.