Writing dot language and render in jupyter.
Project description
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
. - or
sudo apt-get inatall graphviz
for ubuntu
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
- update this.
- add more render tools not just
dot
- add more filetype support not just
png
- auto indent
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
dot_kernel-0.1.8.tar.gz
(3.2 kB
view hashes)