GraphStream Users

Archives de la liste Aide

Re: GS-Netstream and setAutoCreate

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

Hi Stefan,

Thanks a lot for your answer. 

I already use them. The thing is that I have the exception anyway after having set those parameters. However, it only happens if I use the addEdge call from NetStream API, not the one from gs-core.


Best Regards,

On May 10, 2017 17:52, "Stefan Balev" <stefan.balev AT> wrote:

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