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

Clustering when using React component? #1160

Open
benweberj opened this issue Nov 3, 2020 · 1 comment
Open

Clustering when using React component? #1160

benweberj opened this issue Nov 3, 2020 · 1 comment
Labels
question Further information is requested

Comments

@benweberj
Copy link

For the most part, all of the documentation I have seen works for the react component implementation of this library. But one thing I couldn't figure out is how to implement clustering.

Simple component:

<Graph
    graph={graphData}
    options={graphOptions}
    events={graphEvents}
/>
@Thomaash Thomaash added the question Further information is requested label Nov 3, 2020
@Thomaash
Copy link
Member

Thomaash commented Nov 3, 2020

Hi @benweberj,

I have no idea how React works so there is most likely something very complicated that I just don't get, but clustering is just about calling a method (network.cluster(…)). Assuming that React allows you to call a method, just call the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants