Search found 2 matches
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable- 21 Apr 2014 21:46
- Forum: Development
- Topic: getNode() and contains() inconsistency
- Replies: 1
- Views: 2223
Re: getNode() and contains() inconsistency
Hi, when I was trying to figure it out, I found out that the problem occures when I am trying to re-add node. Check the code below: Node newNode = gm.factory().newNode("54"); graph.addNode(newNode); System.out.println(graph.contains(newNode)); System.out.println(graph.getNode(newNode.getId())); grap...
- 15 Apr 2014 14:56
- Forum: Development
- Topic: getNode() and contains() inconsistency
- Replies: 1
- Views: 2223
getNode() and contains() inconsistency
Hi, I'm trying to create my first plugin but I encountered a strange problem. I want to temporarily remove some nodes from graph, save them to a list, do something with the graph and finally take them back to the graph. Here is a simplified code which shows the problem. UndirectedGraph g1 = gm.getUn...