sizing — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sizing (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Node sizing strategies that automatically compute node sizes based on graph metrics or custom attributes.
Set sizingType on GraphCanvas:
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="pagerank"
minNodeSize={5}
maxNodeSize={20}
/>| Type | Description |
|---|---|
'default' | Use node's own size property (default) |
'none' | All nodes use defaultNodeSize |
'pagerank' | Size by PageRank score |
'centrality' | Size by degree centrality |
'attribute' | Size by a custom node attribute |
| Prop | Type | Default | Description |
|---|---|---|---|
sizingType | SizingType | 'default' | Sizing strategy |
defaultNodeSize | number | 7 | Default node size |
minNodeSize | number | 5 | Min size for auto-sizing |
maxNodeSize | number | 15 | Max size for auto-sizing |
sizingAttribute | string | — | Attribute name for 'attribute' sizing |
Uses each node's size property, falls back to defaultNodeSize:
const nodes = [
{ id: '1', label: 'Small', size: 5 },
{ id: '2', label: 'Large', size: 15 },
{ id: '3', label: 'Default' }, // uses defaultNodeSize
];
<GraphCanvas nodes={nodes} edges={edges} sizingType="default" />Nodes with more important connections appear larger:
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="pagerank"
minNodeSize={3}
maxNodeSize={25}
/>Nodes with more connections appear larger:
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="centrality"
/>Size nodes by a custom data attribute:
const nodes = [
{ id: '1', label: 'Low', data: { severity: 2 } },
{ id: '2', label: 'Medium', data: { severity: 5 } },
{ id: '3', label: 'High', data: { severity: 9 } },
];
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="attribute"
sizingAttribute="severity"
minNodeSize={5}
maxNodeSize={20}
/>All nodes the same size:
<GraphCanvas
nodes={nodes}
edges={edges}
sizingType="none"
defaultNodeSize={10}
/>minNodeSize and maxNodeSize bound the auto-computed sizes for pagerank, centrality, and attributerank * 80, then clamped to min/maxrank * 20, then clamped to min/max'attribute' requires sizingAttribute to specify which node property to usesize in data always takes precedence when sizingType="default"~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.