graph_edge
Stable type · Graphs
Tier: stable · Kind: type · Topic: Graphs
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | not exported | GraphEdge | not exported | GraphEdge |
Julia
Julia does not export this type.
TypeScript
TypeScript does not export this type.
Python
class GraphEdge(Generic[E])
GraphEdge(source: str, target: str, data: E)
One directed edge: node keys plus the edge payload.
Mirrors the {source, target, data} triple TypeScript, Go and Julia all
use. source / target are node KEYS (a ComponentNode
’s
id, a VariableNode
’s name), not the node objects.
Rust
Rust does not export this type.