MdSalih / xdiag_magic_extension

IPython/Jupiter magic extension for blockdiag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xdiag_magic_extension

This is an IPython/Jupyter (notebook) extension, providing custom magics for blockdiag, and is inspired by this gist.

Warning: consider this code to be alpha-quality. No tests, just a proof-of-concept. You have been warned.

Usage

activate your virtualenv, then

git clone ... && cd ...
pip install -r requirements.txt
pip install -e .

in your Jupyter notebook:

%load_ext xdiag_magic
%xdiag_output_format svg
%%blockdiag
{
    A -> B -> C
}

About

IPython/Jupiter magic extension for blockdiag

License:MIT License


Languages

Language:Jupyter Notebook 93.3%Language:Python 6.7%