Added custom css class on edge labels#398
Conversation
It should fix dagrejs#195
|
For consistency (with (And I have no idea why you had to redo the way the class is applied - didn't |
|
Hello. I changed the property name for labelClass as you asked. I replaced the "classed" stuff that allow to add/remove a specific class name to be able to specify several classes in the If you think there is a better way to do it, tell me I will update the PR. |
|
I'm not a maintainer, just a user (and I'm interested in the feature too) :) According to the API doc |
|
ok :) edit: |
|
I ported the project to es6 and I accept contributions! |
Hi,
I've just made a small update on edge label to be able to specify custom css classes.
This PR allow to add a
labelClassparameter on thesetEdgefunction.The original
labelclass is untouched.It should fix #195