From 3d91aea35245d5dadc31b9d0320e45ce19cc06a1 Mon Sep 17 00:00:00 2001 From: Massimo Santini Date: Mon, 1 Feb 2016 20:36:40 +0100 Subject: [PATCH] Testing with binder --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0136479..9921598 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,21 @@ or you can generate the simple animation described in python -m gvanim examples/simple.txt simple -finally, you can generate an [Erdős–Rényi](https://en.wikipedia.org/wiki/Erd%C -5%91s%E2%80%93R%C3%A9nyi_model) graph (with 10 nodes and edge probability +You can generate an [Erdős–Rényi](https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model) graph (with 10 nodes and edge probability 1/10) by running cd examples gcc -o er er.c ./er | python -m gvanim er +Finally, you can obain an interactive visualization with +[Jupyter](http://jupyter.org/) by running + + cd examples + jupyter notebook simple.ipynb + +and running all the cells in order. + ## Todo Any help will be appreciated. Things to do to make this more usable are: @@ -49,5 +56,5 @@ Any help will be appreciated. Things to do to make this more usable are: - [ ] document the Python code, - [x] add option parsing to `__main__.py`, - [ ] integrate this with [PyGraphviz](https://pygraphviz.github.io/), -- [ ] integrate this with [Jupyter](http://jupyter.org/), +- [x] integrate this with [Jupyter](http://jupyter.org/), - [ ] add more relavant examples.