NumNodes in flowgraph is returning wrong value.
we should get the size of nodemap as the numNodes , in FlowGraph NumNodes is returning currentid that is returning wrong value.
there is comment about work around, but work around also giving wrong value.
Note :- when adding Node, currentid is increased but not decreasing when deleting the Node/
Note:- nodemap.size() should be used to get exact nodes in the graph.
NumNodes in flowgraph is returning wrong value. we should get the size of nodemap as the numNodes , in FlowGraph NumNodes is returning currentid that is returning wrong value.
there is comment about work around, but work around also giving wrong value.
Note :- when adding Node, currentid is increased but not decreasing when deleting the Node/ Note:- nodemap.size() should be used to get exact nodes in the graph.