Skip to content

Customize Highlight Styles #63

@M-Change

Description

@M-Change

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


I think swapping line 77 with 78 would solve the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions