graph.js icon indicating copy to clipboard operation
graph.js copied to clipboard

better names for .verticesWithPathFrom and .verticesWithPathTo

Open mhelvens opened this issue 9 years ago • 0 comments

The names of the .verticesWithPathFrom(key) and .verticesWithPathTo(key) methods are no good.

They should at least contain a form of the word 'reachable'. Something like .verticesReachableFrom and... what?

  • .verticesReachingTo
  • .verticesFromWhichReachable
  • .verticesBackwardsReachableFrom?

Not sure yet. Anyway, this should be a version 2.x thing.

mhelvens avatar May 14 '15 13:05 mhelvens