GraphStream Users

Archives de la liste Aide


Re: GS-Netstream and setAutoCreate


Chronologique Discussions 
  • From: Xavi Aguilar <xaguilar AT pdc.kth.se>
  • To: Stefan Balev <stefan.balev AT gmail.com>
  • Cc: graphstream-users AT litislab.fr
  • 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.

Thanks!

Best Regards,
Xavier


On May 10, 2017 17:52, "Stefan Balev" <stefan.balev AT gmail.com> wrote:
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