Plugin for lookatme providing support for graph-easy.
Project description
lookatme.contrib.grapheasy
This lookatme extension adds graph support to code blocks.
Setup
Prerequisites
- graphviz
- graph-easy
Installation
pip3 install lookatme.contrib.grapheasy
Usage
Add grapheasy into the extensions header in your file:
---
title: Making of The Pan Galactic Gargle Blaster
author: Zaphod Beeblebrox
date: 2022-01-25
extensions:
- grapheasy
---
Then define some code blocks:
# Graph::Easy
http://bloodgate.com/perl/graph/manual/
```grapheasy
[ Ol' Janx Spirit ] - to -> [ Santraginus V Water ]
```
---
# Graphviz
http://www.graphviz.org/
```dot
digraph {
subgraph cluster_0 {
a0 -> a1 -> a2 -> a3;
label = "process \#1";
}
subgraph cluster_1 {
b0 -> b1 -> b2 -> b3;
label = "process \#2";
}
start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> a0;
a3 -> end;
b3 -> end;
}
```
---
# VCG & GDL
Not tested but sopposedly supported by easy-graph:
- https://www.rw.cdl.uni-saarland.de/people/sander/private/html/gsvcg1.html
- https://www.absint.com/aisee/
Develpoment
Pull requests welcome. Some notes for future reference:
pip3 install . # install directly
python3 setup.py sdist bdist_wheel # package for release
twine upload --repository testpypi dist/* # upload to test.pypi.org
twine upload dist/* # publish to pypi
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lookatme.contrib.grapheasy-1.0.0.tar.gz.
File metadata
- Download URL: lookatme.contrib.grapheasy-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a78b78fff27253875e53312e25fd14f6aeb2a44ed2d5fb1ec8f16e115522ca0a
|
|
| MD5 |
5c7be69793907fee954169bd1d946e96
|
|
| BLAKE2b-256 |
253317aa90608eebb89259729cc4e9a0c29edbef6a83011294cbd3c04a74dc46
|
File details
Details for the file lookatme.contrib.grapheasy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lookatme.contrib.grapheasy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46809593424ab11c0502d2d2e0e437db5934b852aa95779621db1a126542609c
|
|
| MD5 |
dc72130682f4ba42990687bb2516f3f2
|
|
| BLAKE2b-256 |
3352811b4fe78b74ee78a938608303f6bccc5c48ac404ef067e2205fcfa41d01
|