Skip to content

Interface: GraphEdgeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GraphEdgeDto

Defined in: src/types/visualization.ts:154

An edge connecting two nodes in the visualization graph.

optional color?: string | null

Defined in: src/types/visualization.ts:156

Color of the edge (hex string).


optional curvature?: number | null

Defined in: src/types/visualization.ts:158

Curvature for curved edges (0.0 = straight, 1.0 = max curve).


edgeType: EdgeTypeDto

Defined in: src/types/visualization.ts:160

Type of edge.


id: string

Defined in: src/types/visualization.ts:162

Unique identifier for this edge.


optional label?: string | null

Defined in: src/types/visualization.ts:164

Optional edge label.


optional properties?: Record<string, string>

Defined in: src/types/visualization.ts:166

Additional properties.


source: string

Defined in: src/types/visualization.ts:168

Source node ID.


target: string

Defined in: src/types/visualization.ts:170

Target node ID.


optional weight?: number | null

Defined in: src/types/visualization.ts:172

Weight of the edge (for weighted graphs).