| graph_container |
component |
ts |
ui |
1.0.0 |
impure |
GraphContainer(props: GraphContainerProps): JSX.Element |
Interactive graph visualization with sigma.js, graphology, and ForceAtlas2 layout |
| component |
| ui |
| graph |
| visualization |
| sigma |
| graphology |
| network |
|
|
|
|
false |
|
| graphology |
| graphology-layout-forceatlas2 |
| sigma |
|
Componente GraphContainer que renderiza grafo interactivo con sigma.js, ForceAtlas2 layout y legend |
false |
|
|
frontend/functions/ui/graph/index.tsx |
| name |
type |
required |
description |
| data |
GraphData |
true |
Graph data with nodes and edges arrays |
|
| name |
type |
required |
description |
| layout |
'organic' | 'random' |
false |
Layout algorithm (default: organic/ForceAtlas2) |
|
| name |
type |
required |
description |
| showLegend |
boolean |
false |
Show node type legend overlay |
|
| name |
type |
required |
description |
| nodeTypes |
NodeType[] |
false |
Node type definitions for legend |
|
| name |
type |
required |
description |
| onNodeClick |
(node: GraphNode) => void |
false |
Node click handler |
|
| name |
type |
required |
description |
| onNodeDoubleClick |
(node: GraphNode) => void |
false |
Node double-click handler |
|
| name |
type |
required |
description |
| theme |
GraphTheme |
false |
Visual theme overrides |
|
| name |
type |
required |
description |
| height |
string | number |
false |
Container height (default: 100%) |
|
| name |
type |
required |
description |
| className |
string |
false |
Additional CSS classes |
|
|
|
true |
react |
|