GraphStream Users

Archives de la liste Aide

Re: Selecting an edge with a mouse click

Chronologique Discussions 
  • From: Ovidiu Serban <ovidiu.serban AT>
  • To: graphstream-users AT
  • Subject: Re: Selecting an edge with a mouse click
  • Date: Sat, 15 Mar 2014 11:54:35 +0000

Dear Neil,

I am not part of the GraphStream dev team, so maybe they will correct my statement, but as far as I know, in GraphStream there is no way to select an edge.
An edge does not have any event trigger attached.

You can do a trick, like I did, if you don't work with Multigraphs: you select two nodes and you suppose that the user selects the direct edge between them.

Kind regards,

On 03/15/2014 11:40 AM,
nw91 AT
Dear Graphstream team,

First of all - congratulations on an excellent framework.

I am however struggling to figure out how to select a specific edge. With the
ViewerPipe it is trivially easy to recognise node selections. But is there any
trick by which to select specific edges?

All the best,

Neil Walkinshaw

Archives gérées par MHonArc 2.6.16.

Top of page