PIELab / behaviorSim_web

:thought_balloon: GUI for creating Human Behavior Models
http://pielab.github.io/behaviorSim_web/
GNU General Public License v2.0
0 stars 0 forks source link

replace usages of Graph.js with usage of model object #35

Closed 7yl4r closed 10 years ago

7yl4r commented 10 years ago

code review shows no major benefit to using the separate _graph object. Use is only increasing confusion regarding program state. All usages should be replaced with similar usage of the Model class (inheriting from the graph class is not necessary nor feasible due to differing implementations). This should be done to reduce the complexity of resolving #34 and of implementing node updating.

To get started replace all ._graph.getParentsOf( with ._model.get_parents_of( or similar...