Hello, I would like to use Orientdb  for is graph property

my graph model (very simple) 
Some tags (alias): tag1 (node), tag2 (note), tag3(node)
Some place: place 1 place 2 place 3 


tag1 ------> place1 
tag2-------> place2
tag2-------> place1
tag3-------> place3
tag3-------> place2

I create a classe for all node? 

create class tag1 extends V
create class tag2 extends V

create class tag3 extends V

create class place1 extends V
create class place2 extends V
create class place3 extends V



create property tag1.id Integer
create property tag1.name String
insert into tag1 set id=1, name='tag01'                  //  @rid=34:0

....
create property place1.id Integer
create property place1.name String
insert into place1 set id=1, name='place01'                 //   @rid=21:0

....




Create edge from #34:0 to #21:0      // make this for the 4 other edges 
...

I fink that is not the good process to make a graph on OrientDB
Can someone help me :)? 

-- 

--- 
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.

Reply via email to