4

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

Community
  • 1
  • 1
user972432
  • 317
  • 2
  • 8

1 Answers1

1

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.

Andrew Walker
  • 40,984
  • 8
  • 62
  • 84