[sqlalchemy] graph data structure with many edge types

2010-03-05 Thread JanW
I am trying to model graph data structure where nodes can be connected by different types of edges. For example, we could have 2 nodes represnting persons: Alice and Bob and we could have 3 nodes representing projects: projectA, projectB, projectC. Alice is working on projectA and projectC. Bob is

Re: [sqlalchemy] graph data structure with many edge types

2010-03-05 Thread Michael Bayer
JanW wrote: I am trying to model graph data structure where nodes can be connected by different types of edges. I would like to encode all this in 2 database tables: Node table: Edge table: I think this must be doable using the association_proxy in some way (it's vaguely familiar to the