Kan, glad you sorted it out, was just about to answer something along these lines :)
Well done! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Oct 7, 2011 at 10:44 PM, KanTube <mich...@mkanner.com> wrote: > found my solution > > to remove relationships/edges > g.v(0).outE('friend').each{ g.removeEdge(it) } > > to create relationships/edges > [1,2,3,4, etc...].each{ g.addEdge(g.v(0), g.v(it), 'friend') } > > simple once you know the answer :) > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-add-remove-vertex-edge-functions-tp3402170p3404042.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user