graphPlot

Plot (di)graphs using a timestep simulation of charged particles and springs


Keywords
Graph, graphplot, particle, physics, plot, python, simulation, springs
License
MIT
Install
pip install graphPlot==0.0.10

Documentation

graphPlot

A python module for plotting (directed) Graphs using a simulation of springs and charged particles

See the docs for more info including mathematical explanation, examples, and class definitions.

You can import this module with PIP.

$ python3 -m pip install graphPlot --upgrade

TODO:

  • Upgrade to "second order backwards" approximation in SpringBoard
  • add smart detect of max size for animation
  • Change _increment() to use matrix operations
  • add fixed node capabilities
  • Gravitational force is just to take care of disconnected graphs - is it necessary?
  • Make normalization "less invasive"
  • Cythonize
  • Integrate planarity tests
  • Add add self loop arrows
  • Add curved arrows
  • Add copy constructors
  • Add __eq__s for other classes
  • Add __repr__s for other classes
  • Check if the check in move() is most effective