- From: "Jacob M. H. Smith" <jacob.m.h.smith AT gmail.com>
- To: "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>
- Subject: Event-Based GraphStream Application
- Date: Sun, 15 Sep 2013 12:35:06 +0200
Hello.
I have read the documentation, but I am still a little confused as to how to
properly set up an user-event-based GraphStream application.
I want my own Swing-UI with an embedded viewer for the graph. Most of the
operations on the graph will be short and initiated by mouse or keyboard
events in the view, although I might add some background-processing later on.
I have read the tutorial "Graph Visualization" and the section "Simulations
and GUI views" seems to more or less cover what I might need. But since my
application is mostly event-based I would need a blocking pump() method, to
which the tutorial alludes but which I cannot find in the API docs.
- How would the general setup look like?
- Would it make sense in this case to run the graph operations in a separate
thread?
- How do I install a listener on the viewer (I need mouse and keyboard
events)?
Any help would be appreciated.
Best regards,
Jacob
- Event-Based GraphStream Application, Jacob M. H. Smith, 15/09/2013
Archives gérées par MHonArc 2.6.16.