Kitware / clique

Graph editor library/application
Apache License 2.0
10 stars 6 forks source link

Move neighborhood computation into adapter #125

Closed waxlamp closed 8 years ago

waxlamp commented 8 years ago

Graph.addNeighborhood() defers to Adapter.neighborhood() to compute a neighborhood of a node. This allows an adapter to provide a more performant or otherwise custom neighborhood function.