Skip to content
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

Add support for Timeline diagrams #207

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

ouhammmourachid
Copy link
Owner

@ouhammmourachid ouhammmourachid commented Oct 24, 2024

Fixes #45

Add support for Timeline diagrams in the codebase.

  • Create a new Timeline class in mermaid/timeline.py to represent the Timeline diagram.
  • Add methods to build the Mermaid diagram script for the timeline in Timeline class.
  • Update mermaid/__init__.py to import the Timeline class and add it to the __all__ list.

For more details, open the Copilot Workspace session.

ouhammmourachid and others added 2 commits October 25, 2024 00:19
Fixes #45

Add support for `Timeline` diagrams in the codebase.

* Create a new `Timeline` class in `mermaid/timeline.py` to represent the `Timeline` diagram.
* Add methods to build the Mermaid diagram script for the timeline in `Timeline` class.
* Update `mermaid/__init__.py` to import the `Timeline` class and add it to the `__all__` list.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ouhammmourachid/mermaid-py/issues/45?shareId=XXXX-XXXX-XXXX-XXXX).
@codecov-commenter
Copy link

codecov-commenter commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 38.88889% with 11 lines in your changes missing coverage. Please review.

Project coverage is 97.12%. Comparing base (974978d) to head (370c069).
Report is 47 commits behind head on main.

Files with missing lines Patch % Lines
mermaid/timeline.py 35.29% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #207      +/-   ##
==========================================
- Coverage   98.15%   97.12%   -1.03%     
==========================================
  Files          32       33       +1     
  Lines         867      871       +4     
==========================================
- Hits          851      846       -5     
- Misses         16       25       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

support Timeline diagram in mermaid-py
2 participants