moaxcp/graph-dsl

Switch from name to key

moaxcp opened this issue · 0 comments

Vertex should have a key which is an identifier for the vertex. The key should be any object that implements equals and hashcode. This will allow objects other than string to be used as the key like integer or uuid. Currently name is used as the key. Name can only be a string.