Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graph-snapshot-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graph_snapshot-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file graph-snapshot-0.1.0.tar.gz.

File metadata

  • Download URL: graph-snapshot-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for graph-snapshot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71931262a28cd402bf4e8abac6282a4aade6c40d26a26f36d841da042b557d3d
MD5 aca9bc2fd4d2de022269218dfe59e6e9
BLAKE2b-256 4d86888beba680f1047b4079d8ae16cba9e8d7d07bbb530deab34c0743178525

See more details on using hashes here.

File details

Details for the file graph_snapshot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: graph_snapshot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for graph_snapshot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 730ae909c1d8aaf473311c726480a09561a8c311e6260d29b863210249d95e43
MD5 dfb3f0ce48acd8be4647af1f579362ca
BLAKE2b-256 5d05b2243f5992509f23dd8a46f5d14de211cc7a85d4ff057bd0b2eb82073ad2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page