How can I change the node size dynamically?

Hi everyone,

I'm working on the Neo4j repository and need some assistance with dynamically changing the node sizes based on their relationships. I found the hard-coded values for diameter in the GraphStyle.ts file, but I want to adjust the node sizes according to the number of relationships each node has. I already have the relationships for each node.

Any guidance or examples on how to implement this would be greatly appreciated!

Thanks!

I believe there are filter settings in the Bloom tool that will do this for you.

but I want to customized the React code (frontend)