GraphStream Users

Archives de la liste Aide


Re: GS-Netstream and setAutoCreate


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

Hi,

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

Hope this helps,

--
Stefan


2017-05-10 17:08 GMT+02:00 <xaguilar AT pdc.kth.se>:
Hi,

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,
Xavier




Archives gérées par MHonArc 2.6.16.

Top of page