twitter / cassovary

Cassovary is a simple big graph processing library for the JVM
http://twitter.com/cassovary
Apache License 2.0
1.05k stars 149 forks source link

Refactor API: s/node/vertex #213

Open lintool opened 8 years ago

lintool commented 8 years ago

We should rename Node to Vertex in the API. Two main reasons:

  1. Vertex makes you sound smarter... :)
  2. If we want to start playing with partitioning, we want to reserve "Node" for logical/physical machine nodes, so getNode and getVertex can be easily disambiguated.
pankajgupta commented 8 years ago

Agreed.

lintool commented 8 years ago

Okay, I'll refactor and send a pull request... this will help me get my feet wet and learn the API, etc.

pankajgupta commented 8 years ago

Looking forward :)