-
Notifications
You must be signed in to change notification settings - Fork 20
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
Question: Default Styles (or theme)? #6
Comments
Thanks for your message. |
Yes, I don't have a well thought out design, but here are some things to consider:
I hope this helps spur some ideas, but feel free to continue the discussion and put me to work once we have a design you're happy with. |
I like the idea of making styles separate object/class. |
Great library -- thanks for sharing it!
Have you given any thought to allowing for default styles or themes so that users don't have to redefine the same styles for each node and edge?
I'm asking because I'm considering integrating your library in with my state management library. Ideally, my users would be able to define a set of styles for states (nodes), transitions (edges), and conditional transitions (specialized nodes and edges) before calling an export method and end up with something like this diagram.
Let me know your thoughts and I might be able to help implement this functionality.
The text was updated successfully, but these errors were encountered: