Sizing
Node sizing strategies that automatically compute node sizes based on graph metrics or custom attributes.
Configuration
Set sizingType on GraphCanvas:
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="pagerank"
minNodeSize={5}
maxNodeSize={20}
/>
SizingType
| Type | Description |
|---|---|
'default' | Use node's own size property (default) |
'none' | All nodes use defaultNodeSize |
'pagerank' | Size by PageRank score |
[Description truncada. Veja o README completo no GitHub.]