GraphStream Users

Archives de la liste Aide

Event-Based GraphStream Application

Chronologique Discussions 
  • From: "Jacob M. H. Smith" <jacob.m.h.smith AT>
  • To: "graphstream-users AT" <graphstream-users AT>
  • Subject: Event-Based GraphStream Application
  • Date: Sun, 15 Sep 2013 12:35:06 +0200


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
- How do I install a listener on the viewer (I need mouse and keyboard

Any help would be appreciated.

Best regards,

Archives gérées par MHonArc 2.6.16.

Top of page