As far as I know, the difference between a LINK in Document-Model and a an EDGE in Graph-Model is that the first is one way, i.e. if you have D1 -> D2 you can't easily go back to D1 from D2.
Cheers, Riccardo 2014-07-26 23:01 GMT+02:00 Fidel H Viegas <[email protected]>: > Hello, everyone! > > I have been experimenting with OrientDB in handling pedigree data, and I > was wondering if it would be best modelled using a Document structure, > where we have a node (or document) which has links to the dam and the sire, > or if I create a graph, where I have the Animal vertices and the Dam and > Sire as Vertices. > > At some point I will need to get the paths from the Animal to the root > node, so that I can calculate inbreeding, kinship coefficients, etc... > > I was leaning towards a Graph model, but given that OrientDB also has link > attributes I was wondering which model would be more appropriate for such > an application. > > Has anyone attempted this with OrientDB? > > Thanks in advance! > > Best Regards, > > Fidel H Viegas > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
