I have a program written in python using the networkx module to create a dynamic graph. This is a planar graph where the vertices remain constant, but the edges change. Now I am looking for a library that allows me to do two things in a quick and fast way:
Drawing vertices in the form of lattice points inside a rectangle, i.e.

The ability to select edges and vertices to change their color, position, weight, etc., as shown in the figure.
thanks
source share