Re: [orientdb] Trying to emulate a directory structure

2015-06-03 Thread David Brown
Luigi, Thanks for your reply. My problem came from the way my code evolved and not understanding that you couldn't use labels AND heavy-weight edges. I had originally started with lightweight edges and was actively using the 'label' of the edge to represent information - in this case, the sub-

Re: [orientdb] Trying to emulate a directory structure

2015-06-03 Thread Luigi Dell'Aquila
Hi David, I'm not sure I understood your problem... are you having problems in defining 1..N relationships with edges? If it's the case, you can just avoid to define schema for edge links and the graph engine will do the job for you. Eg. CREATE VERTEX Directory set name = 'ParentDir' #12:0 CREAT

[orientdb] Trying to emulate a directory structure

2015-06-01 Thread David Brown
I'm hoping that someone can help recommend the correct configuration of classes to achieve this goal in OrientDB (running 2.1-rc3 at the moment). My interface is through the Java Graph API. I want to have a vertex that is a directory. I want to have multiple edge relationships between a directo