Question

I have a program written in python using the module networkx to create a dynamic graph. It is a planer graph where the vertices remain constant but the edges change. Now I'm looking for a library that allows me to do two things, in a fast and quick manner preferably:

  1. Drawing the vertices as the lattice points inside a rectangle, i.e.

    Lattice

  2. Being able to select edges and vertices to change their color, position, weights, etc. as shown in the picture.

Thanks

Was it helpful?

Solution

For modest graph sizes, any good python graphics library should provide sufficient primitives to address this issue. For example, either Pyglet or PyGame would be suitable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top