-
Notifications
You must be signed in to change notification settings - Fork 5
FEAT: add Mermaid graph rendering #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Flomber
wants to merge
36
commits into
main
Choose a base branch
from
Mermaidrendering
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
cb8e20a
Add Mermaid graph rendering parallel to Graphvis rendering including …
Flomber 8f2ca31
Merge branch 'main' into Mermaidrendering
Flomber b3f2da9
MAINT: implement pre-commit autofixes
pre-commit-ci[bot] 646781c
MAINT: implement updates from formatters
web-flow d702c47
Refactor Mermaid visualization: replace show_mermaid_markdown with as…
Flomber cfa59e8
MAINT: implement pre-commit autofixes
pre-commit-ci[bot] 7e9a03b
MAINT: implement updates from formatters
web-flow 85e300e
MAINT: fix mypy problem
redeboer 67f9520
Fix references of old visualize notebook
Flomber 83829af
MAINT: implement updates from formatters
web-flow d79c997
Fix rendering issue on website
Flomber 93f9260
MAINT: implement pre-commit autofixes
pre-commit-ci[bot] e04753f
MAINT: implement updates from formatters
web-flow 3dc6947
Kick CI
redeboer 9f83bde
DX: strip newlines with ComPWA/nbhooks@68b087e
redeboer 2c1e010
Add mermaid examples into 'visualize_dot.ipynb'
Flomber f5f606b
Replace visualize_dot and visualize_mermaid with merged visualize not…
Flomber b8d5971
Fix double reference of visualize.ipynb in usage.ipynb and add stylis…
Flomber 4c59a19
MAINT: reduce diff
redeboer 0f8b6c2
MAINT: minor formatting issues
redeboer c47bf92
DOC: hide input cells of Mermaid examples
redeboer 42b2552
Remove unnecessary dependencies
Flomber 9329393
Fix issue with node and node id beeing rendered, when flags were disa…
Flomber 9b30be0
reduce diff
Flomber b41e903
Merge functions for rendering labels etc. from _dot.py and _mermaid.p…
Flomber 2a31073
Make escape label translation more stable
Flomber 8c3eed0
Define MermaidPrinter class with a constructor
Flomber e9a7366
Make styling mapping module-level based
Flomber d2cc85f
Remove redundant freeze in func strip_projections
Flomber ed8b685
Fix priority sorting issue
Flomber 34b69a9
Fix iteration issue in {func} collapse_graphs
Flomber 6d36ff2
Add style of rendering shown in #159 (comment)
Flomber d9b1f1a
DX: add doctest to `__extract_priority()`
redeboer b4fcd8f
MAINT: reduce diff
redeboer a8003fe
MAINT: unpack tuple
redeboer cf9abf0
MAINT: reorganize tests to match module structure
redeboer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -148,6 +148,7 @@ | |
| "useGitignore": true, | ||
| "version": "0.2", | ||
| "words": [ | ||
| "asmermaid", | ||
| "blatt", | ||
| "bosonic", | ||
| "bottomness", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| # Output files | ||
| *.gv | ||
| *.json | ||
| *.mmd | ||
| *.npy | ||
| *.pickle | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.