-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Hexagon shape in mermaid flowchart? #530
Comments
+1 I've also used hexagons in the past and they are understood by anybody familiar with conventional flowchart shape syntax. |
Drakon flattened the rhombus and got to space with that. |
It would be wonderful if we can use various shapes. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Stale, flattened hexagons rule. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it. |
@Stale, flattened hexagons rule. |
This should be fairly easy to implement. How so you think the syntax should be for the hexagon? When implementing this, don't forget:
|
Making some pretty quick progress on this, should have a completed PR in a few days. |
The hexagon shape in flow chart now fits the width and height independently, so it can better fit large content without taking up too much space.
The "corner" triangles are a fixed ratio to the height, so the triangles will always be mathemtically similar.
Resolved on #970 |
According to the document, there are 6 shapes available (one found from the issues):
[box]
(rounded box)
((circle))
>flag-like box]
{rhombus or diamond}
(-oval-)
Is that possible to draw a hexagon in flowchart?
Normally, a flowchart uses diamond shape to represent a condition, but when the description text grows, the diamond becomes very very large. So I always use hexagons instead.
The text was updated successfully, but these errors were encountered: