in reply to Re^2: In search of an algorithm for loading cyclic graphs
in thread In search of an algorithm for loading cyclic graphs
Personally, I would create the tables for the node types and have a completely separate table that actually demonstrates the links between the nodes. I would also treat the nodes both in one tables (called nodes) and in their separate tables who FK to nodes. Kinda like a base class and child classes. That way, you can handle it as a 3-table graph when convenient, but you can also get to the data when needed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: In search of an algorithm for loading cyclic graphs
by samtregar (Abbot) on May 17, 2005 at 18:43 UTC | |
by dragonchild (Archbishop) on May 17, 2005 at 18:52 UTC | |
by samtregar (Abbot) on May 17, 2005 at 18:58 UTC |