GraphStream Users

Archives de la liste Aide

Accessing the event when using nextEvents

Chronologique Discussions 
  • From: <robinson.ged+graphstream AT>
  • To: graphstream-users AT
  • Subject: Accessing the event when using nextEvents
  • Date: Mon, 31 Mar 2014 07:18:53 +0200 (CEST)

First, thanks for GraphStream. It's a great library. just what I was looking

I am reading a DGS file with a FileSource object and the nextEvents() method.
It works just fine and the graph is produced and rendered.

However after each nextEvents() method call I wouldl ike to get access to the
event which has just been processed. I want to produce some output in a
LayerRenderer which is based on the most recent event to occur.

How can I get access in my own code to the graph events as they are processed
by nextEvents() ?

Thanks & Regards,

Ged Robinson

Archives gérées par MHonArc 2.6.16.

Top of page