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

How to add border and hover features to icon shape nodes #2174

Open
joylix opened this issue Jul 25, 2024 Discussed in #2173 · 0 comments
Open

How to add border and hover features to icon shape nodes #2174

joylix opened this issue Jul 25, 2024 Discussed in #2173 · 0 comments

Comments

@joylix
Copy link

joylix commented Jul 25, 2024

Discussed in #2173

Originally posted by joylix July 24, 2024
For icon type nodes, see the following example:

{  id: 1, 
         label: 'Node1', 
         shape: "icon", 
         icon: {code:"\u2605", color: 'lightGreen' }, 
   },

How to add borders to the above node 1 and make it responsive to hover and selected event (similar to dot or box shape nodes)?

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

1 participant