GraphStream Users

Archives de la liste Aide


Re: Specify points on a edge


Chronologique Discussions 
  • From: Ruan Costa <ruan.cocito AT gmail.com>
  • To: Frederic Guinand <frederic.guinand AT univ-lehavre.fr>
  • Cc: graphstream-users AT litislab.fr
  • Subject: Re: Specify points on a edge
  • Date: Mon, 28 Jul 2014 15:43:15 -0300

Sorry, I think I wasn't clear. I'm talking about making the edge go through specific points in the cartesian plane. It's about the drawing, not the structure. I'm working on a hierarchical layout and some edges are between nodes of non-adjecent layers. So, if a have the nodes A in layer 1, and C in layer 3, in order to make the drawing better I insert a pseudo-node B in layer 2, and connect A to B and B to C. This is what you said, but I want to have a single edge, that goes from A to C and tell it to go through the cartesian point where B is located.

Thanks,
Ruan


2014-07-28 14:02 GMT-03:00 Frederic Guinand <frederic.guinand AT univ-lehavre.fr>:
Hello Ruan,

An edge, in a simple graph, is between two nodes, (A,D) for instance, but if your « edge » has to go through B and C, then this is a path:
(A,B,C,D), made of three edges.

    Best,

        Frederic


Le 27 juil. 2014 à 20:59, Ruan Costa <ruan.cocito AT gmail.com> a écrit :

> Hi there.
> Is there a way to specify through each points an edge must pass? For instance, I have an edge that goes from A to D, but I also want it to pass through B and C.
>
> Thank you!





Archives gérées par MHonArc 2.6.16.

Top of page