Hi Jenica,
I think that you can not create vertices and edges joining the vertices
that you are creating at the time by the same .csv.
For example in the first line of the CSV file you want to attach the vertex
with CHR13: 20187463 that does not exist.
You can use this javaScript function by connecting the vertexes after the
vertexes are created
var g=orient.getGraph();
var b=g.command('sql','select from position_L1');
for(i=0;i<b.length;i++){
var coordinate=b[i].getProperty('coordinate');
var rid=b[i].getId().toString();
for(j=0;j<b.length;j++){
var previous_nt=b[j].getProperty('previous_nt');
var rid2=b[j].getId().toString();
if(coordinate==previous_nt){
g.command('sql',"create edge previous_nt from "+rid+" to "+rid2);
}
}
}
Regard,
Alessandro
--
---
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.