A small package for creating snapshots of graphs with networkx
Project description
graph_snapshot is a tool to visualize graph algorithms based on networkx <https://networkx.github.io/>
, pygraphviz <https://pygraphviz.github.io/>
and dot2tex <https://dot2tex.readthedocs.io/en/latest/#>
_.
Say you have a python script that runs Kruskal's algorithm on a networkx graph and you want to show how the algorithm works in your paper.
The only thing you have to do is to import graph_snapshot, create 'snapshots' of your graph at important moments during the algorithm and you'll get a directory of .tex files containing the tikz code for your graphs that are just waiting for you to include them into your Latex paper.
If you want to give a talk presenting your algorithm, graph_snapshot makes things even easier for you by providing the beamer_slide
function that will create one beamer slide with the images of your algorithm as overlays, so that you just need to input this slide in order to be able to 'click through the algorithm' in your talk.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for graph_snapshot-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b06d96bbffcf233aa309bf255c4d7db8f3775965372333ffd82c0cb0c49779 |
|
MD5 | 294d742a213bf01b64839049cd04e65f |
|
BLAKE2b-256 | 41204ef93133618ab8a151333078b69888af98b2ff9d591cf2cf663e9e1266ab |