Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lookatme.contrib.grapheasy-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lookatme.contrib.grapheasy-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for lookatme.contrib.grapheasy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a78b78fff27253875e53312e25fd14f6aeb2a44ed2d5fb1ec8f16e115522ca0a
MD5 5c7be69793907fee954169bd1d946e96
BLAKE2b-256 253317aa90608eebb89259729cc4e9a0c29edbef6a83011294cbd3c04a74dc46

See more details on using hashes here.

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

Hashes for lookatme.contrib.grapheasy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46809593424ab11c0502d2d2e0e437db5934b852aa95779621db1a126542609c
MD5 dc72130682f4ba42990687bb2516f3f2
BLAKE2b-256 3352811b4fe78b74ee78a938608303f6bccc5c48ac404ef067e2205fcfa41d01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page