# jupyter-dot-kernel **Repository Path**: jumboj/jupyter-dot-kernel ## Basic Information - **Project Name**: jupyter-dot-kernel - **Description**: 📝Dot language kernel for jupyter. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Dot Kernel The dot kernel for jupyter! There is an awesome dot language tutorial in Chinese: [learn-dot](https://github.com/laixintao/learn-dot). ![demo.jpeg](https://github.com/laixintao/jupyter-dot-kernel/raw/master/readme_assets/demo.jpeg) ## 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 ![new_dot.png](https://github.com/laixintao/jupyter-dot-kernel/raw/master/readme_assets/new_dot.png) and try run this: ``` // The graph name and the semicolons are optional graph graphname { a -- b -- c; b -- d; } ``` You will see: ![first_try.png](https://github.com/laixintao/jupyter-dot-kernel/raw/master/readme_assets/first_try.png) ## TODO 1. update [this](https://github.com/jupyter/jupyter/wiki/Jupyter-kernels). 2. add more render tools not just `dot` 3. add more filetype support not just `png` 4. auto indent