Dot language kernel for jupyter.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin add scripts to install kernel Sep 12, 2018
dot_kernel
dot_kernel_spec
readme_assets upload to pypi, update readme Sep 11, 2018
.bumpversion.cfg Bump version: 0.1.4 → 0.1.5 Sep 12, 2018
.gitignore init commit, echo kernel works Sep 11, 2018
readme.md move tutorial to another repo Sep 22, 2018
setup.py Bump version: 0.1.4 → 0.1.5 Sep 12, 2018

readme.md

Dot Kernel

The dot kernel for jupyter!

There is an awesome dot language tutorial in Chinese: learn-dot.

Install

You should have graphviz first. Install by brew: brew install graphviz.

Then,

pip install dot_kernel

Add kernel to your jupyter:

install-dot-kernel

ALL DONE! 🎉🎉🎉

Run using:

jupyter notebook

Select new -> dot

and try run this:

 // The graph name and the semicolons are optional
 graph graphname {
     a -- b -- c;
     b -- d;
 }

You will see:

TODO

  1. update this.
  2. add more render tools not just dot
  3. add more filetype support not just png
  4. auto indent