GraphStream Users

Archives de la liste Aide


Re: Mouse Clicks, JTabbedPanel Displacement and Labels with line breaks


Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT gmail.com>
  • To: graphstream-users AT litislab.fr, mauricio0copo AT gmail.com
  • Subject: Re: Mouse Clicks, JTabbedPanel Displacement and Labels with line breaks
  • Date: Tue, 28 May 2013 16:19:05 +0200

Hi,

Le mardi 28 mai 2013 à 16:12, mauricio0copo AT gmail.com a écrit :
I'm having some issues with the library, and since it is not well known in the
www (it should be! Graphstream is great!), I had to post my questions here.

1 - How do I retrieve mouse clicks on the graph? I folowed the tutorial
available on the documentation, but without success. I need to detect which
node has been clicked and project another graph based on information from that
node.
Could you tell at which point of the tutorial this does not work ? Have you created a
"loop" with the viewer to "pump" events from it ?

2 - Since I added the graph view on a JTabbedPane I'm having to click above the
label of the node (which is centered inside the node) to get it selected and
move it around. Any thoughts?
Probably a bug, would you give some code to reproduce it ? 

3 - The labels on my graphs are huge. Is there a way to create line breaks on
the labels?
There is sadly no way to do this actually, it would be interesting however. 

Oh, and thank you very much for this library! You have no idea how it's
speeding up the work I need to do!

Antoine



Archives gérées par MHonArc 2.6.16.

Top of page