Extending OB metagraphs

Damien Cassou damien.cassou at gmail.com
Sat May 5 22:15:57 UTC 2007


2007/5/5, Colin Putney <cputney at wiresong.ca>:
> Ideas? Perhaps this is a well-understood problem, and I'm just
> ignorant of the solution.

Just thoughts:

Firstly, I think OB needs a graph entity This graph would let methods
access any node using its name with just a simple call
(OBGraph>>getNodeNamed:). It should be possible to remove edges too I
think.

Then, OB has to make this variable directly accessible to all class
side methods. The graph might be stored in a class variable.

When a new browser is created, all methods whose name starts with
#buildGraph are executed. Those methods have access to the graph and
to all its nodes. So, I think they can do whatever they want with the
graph.

Isn't that enough to have a dynamic graph?

-- 
Damien Cassou



More information about the Squeak-dev mailing list