Skip to content

Instantly share code, notes, and snippets.

@coroa
coroa / dotfilter.py
Last active November 24, 2024 19:29 — forked from slotrans/dotfilter.py
Simple filter for the DOT-language (Graphviz) graph file describing a DAG.
#!python
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "networkx",
# "pydot",
# ]
# ///
import sys