Interface: GraphEdgeDto
@kortexya/reasoninglayer / Visualization / GraphEdgeDto
Interface: GraphEdgeDto
Defined in: src/types/visualization.ts:146
An edge connecting two nodes in the visualization graph.
Properties
color?
optionalcolor:string|null
Defined in: src/types/visualization.ts:148
Color of the edge (hex string).
curvature?
optionalcurvature:number|null
Defined in: src/types/visualization.ts:150
Curvature for curved edges (0.0 = straight, 1.0 = max curve).
edgeType
edgeType:
EdgeTypeDto
Defined in: src/types/visualization.ts:152
Type of edge.
id
id:
string
Defined in: src/types/visualization.ts:154
Unique identifier for this edge.
label?
optionallabel:string|null
Defined in: src/types/visualization.ts:156
Optional edge label.
properties?
optionalproperties:Record<string,string>
Defined in: src/types/visualization.ts:158
Additional properties.
source
source:
string
Defined in: src/types/visualization.ts:160
Source node ID.
target
target:
string
Defined in: src/types/visualization.ts:162
Target node ID.
weight?
optionalweight:number|null
Defined in: src/types/visualization.ts:164
Weight of the edge (for weighted graphs).