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

feat: add support for a open link #51

Merged

Conversation

igorwessel
Copy link
Contributor

@igorwessel igorwessel commented Apr 10, 2024

Closes excalidraw/excalidraw#7872
Closes #40

Mermaid provides a synyax to represent a link without arrow head.

flowchart LR
    A --- B
Loading

This Pull Request intends to introduce a feature that removes arrow heads when a specific syntax is encountered.

Test Cases

Captura de Tela 2024-04-10 às 13 46 35 Captura de Tela 2024-04-10 às 13 46 12 Captura de Tela 2024-04-10 às 13 46 22

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mermaid-to-excalidraw ✅ Ready (Inspect) Visit Preview Apr 12, 2024 5:02am

Copy link
Member

@ad1992 ad1992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@igorwessel thank you for the contribution.
Could you make the 👇🏻 changes ?

  1. Could you give descriptive names for the test case similar to how its in https://github.com/excalidraw/mermaid-to-excalidraw/blob/master/playground/testcases/sequence.ts ?
  2. Also update the Changelog.md

@igorwessel
Copy link
Contributor Author

1. Could you give descriptive names for the test case similar to how its in [`master`/playground/testcases/sequence.ts](https://github.com/excalidraw/mermaid-to-excalidraw/blob/master/playground/testcases/sequence.ts?rgh-link-date=2024-04-11T05%3A53%3A47Z) ?

@ad1992 I've applied the same format to all the flowchart tests. Could you take a look when you get a chance? I wasn't sure about the last ones, so I labeled them as 'Complex' for now.

@igorwessel igorwessel requested a review from ad1992 April 11, 2024 10:10
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@ad1992 ad1992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Pushed some minor tweaks.
Thanks @igorwessel

@ad1992 ad1992 merged commit 965de96 into excalidraw:master Apr 12, 2024
2 checks passed
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 link without arrow head Add Descriptive name to each test case in Flowchart in playground
3 participants