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

change color #10

Open
pudelhund opened this issue Aug 22, 2011 · 1 comment
Open

change color #10

pudelhund opened this issue Aug 22, 2011 · 1 comment

Comments

@pudelhund
Copy link

A way to change the color of certain nodes would be very useful.

@Potherca
Copy link

Potherca commented Dec 5, 2012

Correct me if I'm wrong but if you add a CSS class to a node you can already change the color of a node as all nodes are just HTML tags. Right?

EDIT: Looks like I spoke too soon. The code does not pass any classes on from the original tags to the nodes it creates.
I need something similar myself if @kennethkufluk is interested I could do a pull request with my fix. Just for the hell of it I could also add a fix so the StrokeStyle is settable through the options...

EDIT: Pull request submitted: #16

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

No branches or pull requests

2 participants