View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] representing graphs in xotcl...

From: Shishir Ramam <sramam_at_gmail.com>
Date: Tue, 6 Nov 2007 10:53:02 -0800

Hi,
I have a need to represent a directed graph in XoTcl.

'-childof' functionality seems to work well to represent trees.
Unless I misunderstand, it seems this will force an class-object to belong
to a single parent (1-to-many relationship).
Is there a way to represent multiple parents (many-to-many relationship)
without making multiple copies of nodes along the way?

Any help is appreciated.

thanks,
-shishir