Plugin for the Tulip framework to create a k-nearest neighbors graph.