GraphStream Users

Archives de la liste Aide

Re: GS-Netstream and setAutoCreate

Chronologique Discussions 
  • From: Stefan Balev <stefan.balev AT>
  • To: "graphstream-users AT" <graphstream-users AT>, xaguilar AT
  • Subject: Re: GS-Netstream and setAutoCreate
  • Date: Wed, 10 May 2017 17:52:32 +0200


You should use setStrict(false) and setAutoCreate(true).

Hope this helps,


2017-05-10 17:08 GMT+02:00 <xaguilar AT>:

I'm trying to develop a master/server application using gs-core and gs-stream,
and I'm having some problems with the graph creation on the Java side. I set
autocreate to true and strict to false, however, when I create and edge from
the C++ side using addEdge I receive in the Java side the exception
org.graphstream.graph.ElementNotFoundException. With setAutoCreate and
setStrict, the nodes should be created automatically, right?

Thanks a lot for your help.

Best Regards,

Archives gérées par MHonArc 2.6.16.

Top of page