termaid 0.2.1__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- termaid-0.4.0/.gitignore +20 -0
- termaid-0.4.0/CHANGELOG.md +102 -0
- {termaid-0.2.1 → termaid-0.4.0}/PKG-INFO +56 -8
- {termaid-0.2.1 → termaid-0.4.0}/README.md +55 -7
- termaid-0.4.0/docs/gallery.md +2150 -0
- {termaid-0.2.1 → termaid-0.4.0}/pyproject.toml +1 -1
- termaid-0.4.0/scripts/generate_gallery.py +94 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/__init__.py +77 -8
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/__main__.py +3 -1
- termaid-0.4.0/src/termaid/cli.py +435 -0
- termaid-0.4.0/src/termaid/ingest.py +186 -0
- termaid-0.4.0/src/termaid/layout/coordinates.py +51 -0
- termaid-0.4.0/src/termaid/layout/grid.py +194 -0
- termaid-0.4.0/src/termaid/layout/layers.py +443 -0
- termaid-0.4.0/src/termaid/layout/placement.py +295 -0
- termaid-0.4.0/src/termaid/layout/subgraphs.py +186 -0
- termaid-0.4.0/src/termaid/model/kanban.py +23 -0
- termaid-0.4.0/src/termaid/model/mindmap.py +23 -0
- termaid-0.4.0/src/termaid/model/quadrant.py +24 -0
- termaid-0.4.0/src/termaid/model/timeline.py +23 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/output/rich.py +73 -5
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/flowchart.py +45 -3
- termaid-0.4.0/src/termaid/parser/kanban.py +71 -0
- termaid-0.4.0/src/termaid/parser/mindmap.py +81 -0
- termaid-0.4.0/src/termaid/parser/quadrant.py +67 -0
- termaid-0.4.0/src/termaid/parser/timeline.py +68 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/blockdiagram.py +21 -17
- termaid-0.4.0/src/termaid/renderer/canvas.py +301 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/classdiagram.py +28 -24
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/draw.py +40 -16
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/erdiagram.py +23 -20
- termaid-0.4.0/src/termaid/renderer/kanban.py +137 -0
- termaid-0.4.0/src/termaid/renderer/mindmap.py +294 -0
- termaid-0.4.0/src/termaid/renderer/quadrant.py +146 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/sequence.py +6 -4
- termaid-0.4.0/src/termaid/renderer/themes.py +179 -0
- termaid-0.4.0/src/termaid/renderer/timeline.py +65 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/routing/router.py +101 -2
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_cli.py +51 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_corner_cases.py +163 -1
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_edge_styles.py +10 -8
- termaid-0.4.0/tests/test_mindmap.py +102 -0
- termaid-0.4.0/tests/test_rendering_quality.py +236 -0
- termaid-0.2.1/.gitignore +0 -10
- termaid-0.2.1/CHANGELOG.md +0 -50
- termaid-0.2.1/demo/demo.tape +0 -68
- termaid-0.2.1/demo/erdiagram.mmd +0 -19
- termaid-0.2.1/demo/flowchart.mmd +0 -6
- termaid-0.2.1/demo/gitgraph.mmd +0 -10
- termaid-0.2.1/demo/sequence.mmd +0 -13
- termaid-0.2.1/src/termaid/cli.py +0 -166
- termaid-0.2.1/src/termaid/layout/grid.py +0 -881
- termaid-0.2.1/src/termaid/renderer/canvas.py +0 -254
- termaid-0.2.1/src/termaid/renderer/themes.py +0 -87
- termaid-0.2.1/tests/fixtures/expected/all_shapes.txt +0 -45
- termaid-0.2.1/tests/fixtures/expected/ampersand_both.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/backlink_complex.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/bidir_dotted.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/bidir_labeled.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/bidir_td.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/bidir_thick.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/bidirectional.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/blockdiagram/basic.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/blockdiagram/col_span.txt +0 -14
- termaid-0.2.1/tests/fixtures/expected/blockdiagram/grid.txt +0 -14
- termaid-0.2.1/tests/fixtures/expected/blockdiagram/links.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/branching.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/chain.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/classdiagram/annotation.txt +0 -21
- termaid-0.2.1/tests/fixtures/expected/classdiagram/basic.txt +0 -10
- termaid-0.2.1/tests/fixtures/expected/classdiagram/inheritance.txt +0 -20
- termaid-0.2.1/tests/fixtures/expected/classdiagram/relationships.txt +0 -19
- termaid-0.2.1/tests/fixtures/expected/comments.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/cycle.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/diamond.txt +0 -23
- termaid-0.2.1/tests/fixtures/expected/dotted_arrow.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/duplicate_labels.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/empty_graph.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/erdiagram/attributes.txt +0 -20
- termaid-0.2.1/tests/fixtures/expected/erdiagram/basic.txt +0 -19
- termaid-0.2.1/tests/fixtures/expected/erdiagram/dashed.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/erdiagram/multiple_entities.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/fan_in.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/fan_out.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/flowchart_keyword.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/gitgraph/cherry_pick.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/gitgraph/feature_branch.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/gitgraph/linear.txt +0 -4
- termaid-0.2.1/tests/fixtures/expected/gitgraph/tags.txt +0 -4
- termaid-0.2.1/tests/fixtures/expected/gitgraph/tb_direction.txt +0 -18
- termaid-0.2.1/tests/fixtures/expected/graph_bt.txt +0 -25
- termaid-0.2.1/tests/fixtures/expected/graph_rl.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/labeled_edges.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/large_graph.txt +0 -53
- termaid-0.2.1/tests/fixtures/expected/long_labels.txt +0 -7
- termaid-0.2.1/tests/fixtures/expected/mermaid_comprehensive.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/mixed_arrow_styles.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/multiple_links.txt +0 -21
- termaid-0.2.1/tests/fixtures/expected/no_arrow_dotted.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/no_arrow_solid.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/no_arrow_thick.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/node_with_label.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/parallelogram.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/self_ref_with_edge.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/self_reference.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/semicolons.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/sequence/arrows.txt +0 -16
- termaid-0.2.1/tests/fixtures/expected/sequence/autonumber.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/sequence/basic.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/sequence/multiline_notes.txt +0 -19
- termaid-0.2.1/tests/fixtures/expected/sequence/nested_blocks.txt +0 -22
- termaid-0.2.1/tests/fixtures/expected/sequence/notes.txt +0 -16
- termaid-0.2.1/tests/fixtures/expected/sequence/participant_kinds.txt +0 -14
- termaid-0.2.1/tests/fixtures/expected/sequence/self_message.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/simple_lr.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/simple_tb.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/simple_td.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/single_node.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/statediagram/basic.txt +0 -21
- termaid-0.2.1/tests/fixtures/expected/statediagram/choice.txt +0 -31
- termaid-0.2.1/tests/fixtures/expected/statediagram/composite.txt +0 -28
- termaid-0.2.1/tests/fixtures/expected/statediagram/start_end.txt +0 -29
- termaid-0.2.1/tests/fixtures/expected/subgraph_basic.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/subgraph_nested.txt +0 -27
- termaid-0.2.1/tests/fixtures/expected/subgraph_three_levels.txt +0 -24
- termaid-0.2.1/tests/fixtures/expected/subgraph_two_separate.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/subgraph_with_labels.txt +0 -12
- termaid-0.2.1/tests/fixtures/expected/thick_arrow.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/three_nodes_inline.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/trapezoid.txt +0 -5
- termaid-0.2.1/tests/fixtures/expected/two_roots.txt +0 -13
- termaid-0.2.1/tests/fixtures/expected/unicode_labels.txt +0 -5
- {termaid-0.2.1 → termaid-0.4.0}/.github/workflows/ci.yml +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/.github/workflows/publish.yml +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/CONTRIBUTING.md +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/LICENSE +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/demo/termaid-demo.gif +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/graph/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/graph/model.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/graph/shapes.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/layout/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/blockdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/classdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/erdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/gitgraph.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/piechart.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/sequence.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/model/treemap.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/output/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/output/text.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/output/widget.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/blockdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/classdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/erdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/gitgraph.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/piechart.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/sequence.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/statediagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/tokens.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/parser/treemap.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/py.typed +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/charset.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/gitgraph.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/piechart.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/shapes/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/renderer/treemap.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/routing/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/src/termaid/routing/pathfinder.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/__init__.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/conftest.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/blockdiagram/basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/blockdiagram/col_span.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/blockdiagram/grid.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/blockdiagram/links.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/classdiagram/annotation.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/classdiagram/basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/classdiagram/inheritance.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/classdiagram/relationships.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/erdiagram/attributes.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/erdiagram/basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/erdiagram/dashed.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/erdiagram/multiple_entities.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/all_shapes.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/ampersand_both.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/backlink_complex.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/bidir_dotted.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/bidir_labeled.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/bidir_td.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/bidir_thick.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/bidirectional.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/branching.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/chain.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/comments.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/cycle.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/diamond.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/dotted_arrow.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/duplicate_labels.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/empty_graph.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/fan_in.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/fan_out.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/flowchart_keyword.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/graph_bt.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/graph_rl.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/labeled_edges.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/large_graph.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/long_labels.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/mermaid_comprehensive.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/mixed_arrow_styles.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/multiple_links.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/no_arrow_dotted.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/no_arrow_solid.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/no_arrow_thick.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/node_with_label.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/parallelogram.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/self_ref_with_edge.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/self_reference.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/semicolons.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/simple_lr.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/simple_tb.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/simple_td.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/single_node.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/subgraph_basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/subgraph_nested.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/subgraph_three_levels.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/subgraph_two_separate.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/subgraph_with_labels.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/thick_arrow.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/three_nodes_inline.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/trapezoid.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/two_roots.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/flowcharts/unicode_labels.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/gitgraph/cherry_pick.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/gitgraph/feature_branch.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/gitgraph/linear.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/gitgraph/tags.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/gitgraph/tb_direction.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/arrows.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/autonumber.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/multiline_notes.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/nested_blocks.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/notes.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/participant_kinds.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/sequence/self_message.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/statediagram/basic.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/statediagram/choice.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/statediagram/composite.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/fixtures/statediagram/start_end.mmd +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_blockdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_classdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_erdiagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_gitgraph.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_integration.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_layout.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_parser_comprehensive.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_piechart.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_renderer.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_routing.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_sequence.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_shapes.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_snapshots.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_state_diagram.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_themes.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_treemap.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/tests/test_warnings.py +0 -0
- {termaid-0.2.1 → termaid-0.4.0}/uv.lock +0 -0
termaid-0.4.0/.gitignore
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.DS_Store
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.pyc
|
|
4
|
+
*.egg-info/
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
.venv/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
# Scratch diagram files in root
|
|
10
|
+
/*.mmd
|
|
11
|
+
|
|
12
|
+
# Demo source files (tape scripts, scratch mmd) — keep only the gif
|
|
13
|
+
demo/*.tape
|
|
14
|
+
demo/*.mmd
|
|
15
|
+
demo/.DS_Store
|
|
16
|
+
|
|
17
|
+
# Other scratch files
|
|
18
|
+
.coverage
|
|
19
|
+
*.txt
|
|
20
|
+
screenshot.png
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.4.0 (2026-03-26)
|
|
4
|
+
|
|
5
|
+
### New diagram types
|
|
6
|
+
- **Timeline** (`timeline` syntax): vertical event list with sections and details
|
|
7
|
+
- **Kanban** (`kanban` syntax): column-based task boards with cards
|
|
8
|
+
- **Quadrant chart** (`quadrantChart` syntax): 2x2 grid with plotted data points
|
|
9
|
+
- 13 diagram types now supported
|
|
10
|
+
|
|
11
|
+
### New themes
|
|
12
|
+
- **Solid-background themes**: `gruvbox`, `monokai`, `dracula`, `nord`, `solarized` with filled region backgrounds
|
|
13
|
+
- Per-section coloring: kanban columns, quadrant regions, and timeline sections get distinct colors
|
|
14
|
+
- Depth shading: kanban cards use a lighter shade of the column color
|
|
15
|
+
- `--themes` flag to list all available themes
|
|
16
|
+
|
|
17
|
+
### New features
|
|
18
|
+
- **JSON ingest** (`--json TYPE`): pipe structured data and render as treemap, pie, mindmap, or flowchart
|
|
19
|
+
- **`--demo [TYPE]`**: render sample diagrams for any diagram type
|
|
20
|
+
- **`padding_x` and `gap`** now supported by sequence, class, ER, block, and kanban renderers
|
|
21
|
+
- Parser fix: edge labels with quoted text (`-->|"Yes"|`) no longer rendered as spaces
|
|
22
|
+
|
|
23
|
+
## 0.3.0 (2026-03-25)
|
|
24
|
+
|
|
25
|
+
### Rendering engine overhaul
|
|
26
|
+
|
|
27
|
+
- **Directional canvas**: junction characters derived from direction bitfields instead of a lookup table, producing correct junctions in all cases
|
|
28
|
+
- **Gap expansion**: crossing edges between layers automatically get extra routing space so they no longer overlap
|
|
29
|
+
- **Endpoint spreading**: overlapping arrows on the same node border are spread apart so all edges are visible
|
|
30
|
+
- **Subgraph separation**: nodes stay inside their declared subgraph even with cross-boundary edges
|
|
31
|
+
- **Routing bias**: edges prefer the natural flow direction, avoiding tight corners next to node borders
|
|
32
|
+
- **Label separation**: edge labels from different edges no longer merge onto the same output line
|
|
33
|
+
- **Parser fix**: arrow syntax inside quoted labels (`A["has --> arrow"]`) no longer confuses the parser
|
|
34
|
+
|
|
35
|
+
### New diagram type
|
|
36
|
+
|
|
37
|
+
- **Mindmaps** (`mindmap` syntax): indentation-based tree layout with automatic overflow to the left for crowded roots, rounded/sharp/ASCII branch characters
|
|
38
|
+
|
|
39
|
+
### CLI improvements
|
|
40
|
+
|
|
41
|
+
- `--width N`: set max output width, re-renders with smaller gap/padding if exceeded
|
|
42
|
+
- `-o FILE` / `--output FILE`: write output to file instead of stdout
|
|
43
|
+
- `--show-ids`: show node IDs alongside labels for debugging
|
|
44
|
+
- `--no-auto-fit`: disable automatic terminal width compaction
|
|
45
|
+
- `NO_COLOR` environment variable respected
|
|
46
|
+
- `--version` reads from package metadata instead of hardcoded string
|
|
47
|
+
- Auto-fit: diagrams that exceed terminal width are automatically re-rendered with compact settings
|
|
48
|
+
|
|
49
|
+
### Code quality
|
|
50
|
+
|
|
51
|
+
- Layout engine split from 1 file (1095 lines) into 5 focused modules
|
|
52
|
+
- 1066 tests, 0 failures, 0 xfails (up from 1004 tests, 5 xfails)
|
|
53
|
+
- Gallery script and docs/gallery.md with all 78 fixture diagrams
|
|
54
|
+
|
|
55
|
+
## 0.2.1 (2026-03-25)
|
|
56
|
+
|
|
57
|
+
- Add `--gap` CLI flag and `gap` parameter for compact diagram spacing
|
|
58
|
+
- Document wide LR diagram workarounds in README
|
|
59
|
+
|
|
60
|
+
## 0.2.0 (2026-03-20)
|
|
61
|
+
|
|
62
|
+
- Add pie chart support (`pie` syntax, rendered as horizontal bar charts)
|
|
63
|
+
- Add treemap support (`treemap-beta` syntax with nested sections and proportional sizing)
|
|
64
|
+
- 9 diagram types now supported
|
|
65
|
+
|
|
66
|
+
## 0.1.3 (2026-03-04)
|
|
67
|
+
|
|
68
|
+
- Add `--tui` flag to CLI for interactive TUI viewer
|
|
69
|
+
- Update demo GIF with pipe and TUI examples
|
|
70
|
+
|
|
71
|
+
## 0.1.1 (2026-03-04)
|
|
72
|
+
|
|
73
|
+
- Rename package from `termmaid` to `termaid`
|
|
74
|
+
|
|
75
|
+
## 0.1.0 (2026-03-04)
|
|
76
|
+
|
|
77
|
+
Initial release.
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
- **7 diagram types:** flowcharts, sequence, class, ER, state, block, and git graphs
|
|
82
|
+
- **Flowcharts** (`graph`/`flowchart`) with all 5 directions (`LR`, `RL`, `TD`/`TB`, `BT`)
|
|
83
|
+
- **Sequence diagrams** with participants, actors, solid/dashed messages
|
|
84
|
+
- **Class diagrams** with attributes, methods, visibility, and 6 relationship types
|
|
85
|
+
- **ER diagrams** with cardinality, attributes, keys, and relationship labels
|
|
86
|
+
- **State diagrams** (`stateDiagram-v2`) with transitions, composite states, stereotypes
|
|
87
|
+
- **Block diagrams** (`block-beta`) with column layout and spanning
|
|
88
|
+
- **Git graphs** (`gitGraph`) with branches, merges, cherry-picks, tags, and 3 orientations
|
|
89
|
+
- 14 flowchart node shapes: rectangle, rounded, stadium, subroutine, diamond, hexagon, circle, double circle, asymmetric, cylinder, parallelogram, parallelogram alt, trapezoid, trapezoid alt
|
|
90
|
+
- 3 edge styles: solid, dotted, thick
|
|
91
|
+
- Bidirectional edges (`<-->`, `<-.->`, `<==>`)
|
|
92
|
+
- Edge labels (`-->|label|`)
|
|
93
|
+
- Subgraphs with nesting and cross-boundary edges
|
|
94
|
+
- `classDef`, `style`, and `linkStyle` directives
|
|
95
|
+
- `@{shape}` node syntax
|
|
96
|
+
- Link length control (`--->`, `---->`)
|
|
97
|
+
- Markdown labels (`**bold**`, `*italic*`)
|
|
98
|
+
- ASCII mode (`--ascii`) for terminals without Unicode support
|
|
99
|
+
- Colored output via Rich (`--color`) with 6 built-in themes
|
|
100
|
+
- Textual widget for TUI applications
|
|
101
|
+
- CLI tool with stdin/file input
|
|
102
|
+
- Pure Python, zero runtime dependencies
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: termaid
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Render Mermaid diagrams in your terminal or Python app
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -38,8 +38,9 @@ Description-Content-Type: text/markdown
|
|
|
38
38
|
|
|
39
39
|
## Features
|
|
40
40
|
|
|
41
|
-
- **
|
|
41
|
+
- **13 diagram types:** flowcharts, sequence, class, ER, state, block, git graphs, pie charts, treemaps, mindmaps, timelines, kanban boards, and quadrant charts
|
|
42
42
|
- **Zero dependencies:** pure Python, nothing to install beyond the package itself
|
|
43
|
+
- **Terminal-aware:** auto-fits diagrams to terminal width with progressive compaction
|
|
43
44
|
- **Rich and Textual integration:** colored output and TUI widgets with optional extras
|
|
44
45
|
- **6 color themes:** default, terra, neon, mono, amber, phosphor
|
|
45
46
|
- **ASCII fallback:** works on any terminal, even the most basic ones
|
|
@@ -402,17 +403,48 @@ treemap-beta
|
|
|
402
403
|
|
|
403
404
|
**Features:** nested sections via indentation, `"label": value` syntax, proportional sizing, `%%` comments
|
|
404
405
|
|
|
406
|
+
### Mindmaps
|
|
407
|
+
|
|
408
|
+
```mermaid
|
|
409
|
+
mindmap
|
|
410
|
+
Project
|
|
411
|
+
Design
|
|
412
|
+
Wireframes
|
|
413
|
+
Mockups
|
|
414
|
+
Development
|
|
415
|
+
Frontend
|
|
416
|
+
Backend
|
|
417
|
+
Testing
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
```
|
|
421
|
+
╭─ Design ──╭─ Wireframes
|
|
422
|
+
│ ╰─ Mockups
|
|
423
|
+
Project ──├─ Development ──╭─ Frontend
|
|
424
|
+
│ ╰─ Backend
|
|
425
|
+
╰─ Testing
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
**Features:** indentation-based nesting, automatic overflow to the left when many children, rounded/sharp/ASCII branch characters, Mermaid shape markers stripped (`(round)`, `[square]`, `{{hexagon}}`, `)cloud(`)
|
|
429
|
+
|
|
405
430
|
## CLI options
|
|
406
431
|
|
|
407
432
|
| Flag | Description |
|
|
408
433
|
|------|-------------|
|
|
409
|
-
| `--tui` | Interactive TUI viewer (requires `pip install termaid[tui]`) |
|
|
410
434
|
| `--ascii` | ASCII-only output (no Unicode box-drawing) |
|
|
411
|
-
| `--theme NAME` | Color theme
|
|
435
|
+
| `--theme NAME` | Color theme (requires `pip install termaid[rich]`). Use `--themes` to list |
|
|
436
|
+
| `--themes` | List all available color themes |
|
|
437
|
+
| `--demo [TYPE]` | Render sample diagrams (`all`, `flowchart`, `sequence`, `mindmap`, etc.) |
|
|
412
438
|
| `--padding-x N` | Horizontal padding inside boxes (default: 4) |
|
|
413
439
|
| `--padding-y N` | Vertical padding inside boxes (default: 2) |
|
|
414
440
|
| `--gap N` | Space between nodes (default: 4). Use `1` or `2` for compact diagrams |
|
|
441
|
+
| `--width N` | Max output width. Re-renders with smaller gap/padding if exceeded |
|
|
442
|
+
| `--no-auto-fit` | Disable automatic compaction when diagram exceeds terminal width |
|
|
415
443
|
| `--sharp-edges` | Sharp corners on edge turns instead of rounded |
|
|
444
|
+
| `-o FILE` | Write output to file instead of stdout |
|
|
445
|
+
| `--show-ids` | Show node IDs alongside labels for debugging (e.g. `myId: My Label`) |
|
|
446
|
+
| `--json TYPE` | Pipe JSON/tabular data and render as `treemap`, `pie`, `mindmap`, or `flowchart` |
|
|
447
|
+
| `--tui` | Interactive TUI viewer (requires `pip install termaid[tui]`) |
|
|
416
448
|
|
|
417
449
|
## Python API
|
|
418
450
|
|
|
@@ -438,7 +470,9 @@ class MyApp(App):
|
|
|
438
470
|
|
|
439
471
|
## Themes
|
|
440
472
|
|
|
441
|
-
|
|
473
|
+
11 built-in themes for `--theme` / `render_rich()`. Run `termaid --themes` to list them.
|
|
474
|
+
|
|
475
|
+
**Text themes** (foreground colors only):
|
|
442
476
|
|
|
443
477
|
| Theme | Colors | Description |
|
|
444
478
|
|-------|--------|-------------|
|
|
@@ -449,6 +483,16 @@ Six built-in themes for `--theme` / `render_rich()`:
|
|
|
449
483
|
| `amber` |    | Amber/gold CRT-style |
|
|
450
484
|
| `phosphor` |    | Green phosphor terminal-style |
|
|
451
485
|
|
|
486
|
+
**Solid themes** (filled backgrounds with foreground colors):
|
|
487
|
+
|
|
488
|
+
| Theme | Colors | Description |
|
|
489
|
+
|-------|--------|-------------|
|
|
490
|
+
| `gruvbox` |    | Gruvbox dark palette |
|
|
491
|
+
| `monokai` |    | Monokai dark with pink/green accents |
|
|
492
|
+
| `dracula` |    | Dracula purple/pink/green palette |
|
|
493
|
+
| `nord` |    | Nord muted blue/cyan arctic palette |
|
|
494
|
+
| `solarized` |    | Solarized dark blue/yellow/cyan |
|
|
495
|
+
|
|
452
496
|
## Optional extras
|
|
453
497
|
|
|
454
498
|
```bash
|
|
@@ -458,9 +502,13 @@ pip install termaid[textual] # Textual TUI widget
|
|
|
458
502
|
|
|
459
503
|
## Limitations
|
|
460
504
|
|
|
461
|
-
- **Layout engine is approximate.** Node positioning uses a grid-based barycenter heuristic.
|
|
462
|
-
- **Manhattan-only edge routing.** Edges use A* pathfinding on a grid.
|
|
463
|
-
- **Wide
|
|
505
|
+
- **Layout engine is approximate.** Node positioning uses a grid-based barycenter heuristic. Very dense graphs may still produce some edge crossings.
|
|
506
|
+
- **Manhattan-only edge routing.** Edges use A* pathfinding on a grid. The engine auto-expands gaps for crossing edges and biases toward flow-aligned routes.
|
|
507
|
+
- **Wide diagrams.** The CLI auto-compacts when the diagram exceeds terminal width. For very wide LR chains, use `--width N`, `--gap 1`, or pipe through `less -S`.
|
|
508
|
+
|
|
509
|
+
## Gallery
|
|
510
|
+
|
|
511
|
+
See [docs/gallery.md](docs/gallery.md) for rendered examples of all 78 supported diagram fixtures.
|
|
464
512
|
|
|
465
513
|
## Acknowledgements
|
|
466
514
|
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
|
-
- **
|
|
13
|
+
- **13 diagram types:** flowcharts, sequence, class, ER, state, block, git graphs, pie charts, treemaps, mindmaps, timelines, kanban boards, and quadrant charts
|
|
14
14
|
- **Zero dependencies:** pure Python, nothing to install beyond the package itself
|
|
15
|
+
- **Terminal-aware:** auto-fits diagrams to terminal width with progressive compaction
|
|
15
16
|
- **Rich and Textual integration:** colored output and TUI widgets with optional extras
|
|
16
17
|
- **6 color themes:** default, terra, neon, mono, amber, phosphor
|
|
17
18
|
- **ASCII fallback:** works on any terminal, even the most basic ones
|
|
@@ -374,17 +375,48 @@ treemap-beta
|
|
|
374
375
|
|
|
375
376
|
**Features:** nested sections via indentation, `"label": value` syntax, proportional sizing, `%%` comments
|
|
376
377
|
|
|
378
|
+
### Mindmaps
|
|
379
|
+
|
|
380
|
+
```mermaid
|
|
381
|
+
mindmap
|
|
382
|
+
Project
|
|
383
|
+
Design
|
|
384
|
+
Wireframes
|
|
385
|
+
Mockups
|
|
386
|
+
Development
|
|
387
|
+
Frontend
|
|
388
|
+
Backend
|
|
389
|
+
Testing
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
```
|
|
393
|
+
╭─ Design ──╭─ Wireframes
|
|
394
|
+
│ ╰─ Mockups
|
|
395
|
+
Project ──├─ Development ──╭─ Frontend
|
|
396
|
+
│ ╰─ Backend
|
|
397
|
+
╰─ Testing
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
**Features:** indentation-based nesting, automatic overflow to the left when many children, rounded/sharp/ASCII branch characters, Mermaid shape markers stripped (`(round)`, `[square]`, `{{hexagon}}`, `)cloud(`)
|
|
401
|
+
|
|
377
402
|
## CLI options
|
|
378
403
|
|
|
379
404
|
| Flag | Description |
|
|
380
405
|
|------|-------------|
|
|
381
|
-
| `--tui` | Interactive TUI viewer (requires `pip install termaid[tui]`) |
|
|
382
406
|
| `--ascii` | ASCII-only output (no Unicode box-drawing) |
|
|
383
|
-
| `--theme NAME` | Color theme
|
|
407
|
+
| `--theme NAME` | Color theme (requires `pip install termaid[rich]`). Use `--themes` to list |
|
|
408
|
+
| `--themes` | List all available color themes |
|
|
409
|
+
| `--demo [TYPE]` | Render sample diagrams (`all`, `flowchart`, `sequence`, `mindmap`, etc.) |
|
|
384
410
|
| `--padding-x N` | Horizontal padding inside boxes (default: 4) |
|
|
385
411
|
| `--padding-y N` | Vertical padding inside boxes (default: 2) |
|
|
386
412
|
| `--gap N` | Space between nodes (default: 4). Use `1` or `2` for compact diagrams |
|
|
413
|
+
| `--width N` | Max output width. Re-renders with smaller gap/padding if exceeded |
|
|
414
|
+
| `--no-auto-fit` | Disable automatic compaction when diagram exceeds terminal width |
|
|
387
415
|
| `--sharp-edges` | Sharp corners on edge turns instead of rounded |
|
|
416
|
+
| `-o FILE` | Write output to file instead of stdout |
|
|
417
|
+
| `--show-ids` | Show node IDs alongside labels for debugging (e.g. `myId: My Label`) |
|
|
418
|
+
| `--json TYPE` | Pipe JSON/tabular data and render as `treemap`, `pie`, `mindmap`, or `flowchart` |
|
|
419
|
+
| `--tui` | Interactive TUI viewer (requires `pip install termaid[tui]`) |
|
|
388
420
|
|
|
389
421
|
## Python API
|
|
390
422
|
|
|
@@ -410,7 +442,9 @@ class MyApp(App):
|
|
|
410
442
|
|
|
411
443
|
## Themes
|
|
412
444
|
|
|
413
|
-
|
|
445
|
+
11 built-in themes for `--theme` / `render_rich()`. Run `termaid --themes` to list them.
|
|
446
|
+
|
|
447
|
+
**Text themes** (foreground colors only):
|
|
414
448
|
|
|
415
449
|
| Theme | Colors | Description |
|
|
416
450
|
|-------|--------|-------------|
|
|
@@ -421,6 +455,16 @@ Six built-in themes for `--theme` / `render_rich()`:
|
|
|
421
455
|
| `amber` |    | Amber/gold CRT-style |
|
|
422
456
|
| `phosphor` |    | Green phosphor terminal-style |
|
|
423
457
|
|
|
458
|
+
**Solid themes** (filled backgrounds with foreground colors):
|
|
459
|
+
|
|
460
|
+
| Theme | Colors | Description |
|
|
461
|
+
|-------|--------|-------------|
|
|
462
|
+
| `gruvbox` |    | Gruvbox dark palette |
|
|
463
|
+
| `monokai` |    | Monokai dark with pink/green accents |
|
|
464
|
+
| `dracula` |    | Dracula purple/pink/green palette |
|
|
465
|
+
| `nord` |    | Nord muted blue/cyan arctic palette |
|
|
466
|
+
| `solarized` |    | Solarized dark blue/yellow/cyan |
|
|
467
|
+
|
|
424
468
|
## Optional extras
|
|
425
469
|
|
|
426
470
|
```bash
|
|
@@ -430,9 +474,13 @@ pip install termaid[textual] # Textual TUI widget
|
|
|
430
474
|
|
|
431
475
|
## Limitations
|
|
432
476
|
|
|
433
|
-
- **Layout engine is approximate.** Node positioning uses a grid-based barycenter heuristic.
|
|
434
|
-
- **Manhattan-only edge routing.** Edges use A* pathfinding on a grid.
|
|
435
|
-
- **Wide
|
|
477
|
+
- **Layout engine is approximate.** Node positioning uses a grid-based barycenter heuristic. Very dense graphs may still produce some edge crossings.
|
|
478
|
+
- **Manhattan-only edge routing.** Edges use A* pathfinding on a grid. The engine auto-expands gaps for crossing edges and biases toward flow-aligned routes.
|
|
479
|
+
- **Wide diagrams.** The CLI auto-compacts when the diagram exceeds terminal width. For very wide LR chains, use `--width N`, `--gap 1`, or pipe through `less -S`.
|
|
480
|
+
|
|
481
|
+
## Gallery
|
|
482
|
+
|
|
483
|
+
See [docs/gallery.md](docs/gallery.md) for rendered examples of all 78 supported diagram fixtures.
|
|
436
484
|
|
|
437
485
|
## Acknowledgements
|
|
438
486
|
|