-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Can we include customized shapes ? #274
Comments
It should be possible as dagre-d3 allows custom shapes. Perhaps a special function part of the initialize call that defines a shape and ties it to a key. Syntax wise it would be easiest to tag the shapes with the custom shape in special statment in a way similar to the class definition:
That breaks the concepr of the shape in the synaxt of the diagram though so open for better ideas. Btw. Ovals are available with the following syntax:
(This ia quite new and has not made its way into the editor or docs yet.) |
Yes it is possible. This is for instance how the odd shape was implemented. Which shape/shapes is it and how should the syntax be expanded? Lets break this out to tasks that someone can put their teeth in! |
Please take a stab at it! How can I assist you? On Fri, Nov 18, 2016 at 11:35 AM +0100, "Weronika Łabaj" notifications@github.com wrote: We'd find the "database" shape very useful in our documentation. With little help, I'd be ready to take a stab at implementing it. — |
@weralabaj were you able to get custom shape to work? I am looking for something similar. |
I’m also curious — want to know if a trapezium shape is available already or needs to be added as a custom shape. |
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. |
Given how long ago this issue's activity died out, I'm closing it. |
Is there documentation on this somewhere? I am building out a UML model but need "circle-cross" shapes for the "arrowheads". |
|
Existing shapes are like square, rectangle, rhombus, circle etc....so i want to include my own customized shape.. for eg i want to include cloud shape or egg shape..
...is it possible ?
If yes then how can i integrate this .. ?
The text was updated successfully, but these errors were encountered: