Revision 6faf537...
Go back to digest for 12th August 2012Bug Fixes in Educational
Andreas Cord-Landwehr committed changes in [rocs] /Plugins/DataStructure/Graph:
Add script accessor functions for nodes/edges of different types.
Fix and extend node/edge script accessor function of Graph data
structure plugin:
* Fix behavior of GraphStructure::list_nodes():
return nodes of all types
* Fix behavior of GraphStructure::list_edges():
return edges of all types
* Add new method GraphStructure::list_nodes(int type):
return only nodes of specified type
* Add new method GraphStructure::list_edges(int type):
return only edges of specified type
File Changes
Modified 2 files
- /Plugins/DataStructure/Graph
- src/GraphStructure.cpp
- src/GraphStructure.h
2 files changed in total