GraphStream Users

Archives de la liste Aide


follow-up on "ViewerPump and visualization questions"


Chronologique Discussions 
  • From: "Gergely Zahoransky-Kohalmi" <gzahoransky-kohalmi AT salud.unm.edu>
  • To: <graphstream-users AT litislab.fr>
  • Subject: follow-up on "ViewerPump and visualization questions"
  • Date: Sat, 11 Jan 2014 23:02:40 -0700

Hi,


For what it's worth, I wanted to share with you that I've found a solution
for the ViewerPipe issue in my previous email of subject "ViewerPump and
visualization questions". I have removed the element sink from coming from
the ViewerPipe towards the graph, that took care of the problem I ran into.
Now attribute changes are propagated without the Viewer won't try to add
existing node to the graph just by clicking on nodes. That's what I wanted to
achieve.


This is a code snippet highlighting the solution:




fromViewer = viewer.newViewerPipe();
fromViewer.addSink(graph);
fromViewer.removeElementSink(graph);





Hope someone will find this useful.


Best,


Gergely


Ps.: Sorry if I caused confusion with the term "ViewerPump", it was meant to
be ViewerPipe, of course.





  • follow-up on "ViewerPump and visualization questions", Gergely Zahoransky-Kohalmi, 12/01/2014

Archives gérées par MHonArc 2.6.16.

Top of page