GraphStream Users

Archives de la liste Aide

Re: Specify points on a edge

Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT>
  • To: "graphstream-users AT" <graphstream-users AT>, Ruan Costa <ruan.cocito AT>
  • Subject: Re: Specify points on a edge
  • Date: Tue, 29 Jul 2014 08:53:18 +0200

Hello Ruan,

There are experiments in the viewer, mostly dedicated to GIS, but nothing really usable actually. The better way, eventually, is to create fake nodes (making them invisible using CSS) and edges to simulate it.



2014-07-28 20:43 GMT+02:00 Ruan Costa <ruan.cocito AT>:
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.


2014-07-28 14:02 GMT-03:00 Frederic Guinand <frederic.guinand AT>:

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.



Le 27 juil. 2014 à 20:59, Ruan Costa <ruan.cocito AT> 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