Skip to content

Custom Node Rendering #77

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

Closed
Andrew161644 opened this issue Apr 4, 2025 · 3 comments
Closed

Custom Node Rendering #77

Andrew161644 opened this issue Apr 4, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@Andrew161644
Copy link

Custom Node rendering

Add custom renderer for node

@Andrew161644 Andrew161644 added the enhancement New feature or request label Apr 4, 2025
@sim51
Copy link
Owner

sim51 commented Apr 4, 2025

What do you mean by "Add custom renderer for node" ?

if you want to use some custom node render from sigma, there is already some examples of that in the storybook :

@Andrew161644
Copy link
Author

Is there any ways to add button into Node?
Or set text into center of node?

@sim51
Copy link
Owner

sim51 commented Apr 4, 2025

For the text in the middle, it's not possible.
Displaying the label of node on the right side is a feature of sigmajs

About the button, why not using the clickNode event instead ?

@sim51 sim51 closed this as completed Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants