-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
Enable customized edge and node highlight styles.
Currently, node and edge styles can be changed by passing EdgeStyle and NodeStyle classes.
It would be great so also do that with the highlighting when selecting a node or edge.
Use case or motivation
It should be possible to override the dump() method of the EdgeStyle or NodeStyle class and change
the selector to "edge:selected, edge.highlight" or "node:selected, node.highlight" and return custom style
elements.
Additional context
I think the reason why this is not working is that the custom styles are overwritten with
the default highlight styles in
...STYLES[theme]["highlight"], |
I think swapping line 77 with 78 would solve the issue
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request