Skip to content

feat(export): add Mermaid ER diagram output - #175

Open
mathpernias wants to merge 1 commit into
drivendataorg:mainfrom
mathpernias:feat/mermaid-output
Open

mathpernias wants to merge 1 commit into
drivendataorg:mainfrom
mathpernias:feat/mermaid-output

Conversation

@mathpernias

Copy link
Copy Markdown

Closes #163

Summary

  • add Mermaid erDiagram output
  • add EntityRelationshipDiagram.to_mermaid()
  • add the --mermaid CLI option
  • add renderer and CLI tests
  • document the new output format

Validation

  • python -m pytest -o addopts='' tests/test_mermaid.py tests/test_cli.py -k "mermaid or d2" -q
mermaid-diagram-1792255976105

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Mermaid as output format

1 participant