Skip to content

Interface: GraphEdgeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Visualization / GraphEdgeDto

Interface: GraphEdgeDto

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

An edge connecting two nodes in the visualization graph.

Properties

color?

optional color: string | null

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

Color of the edge (hex string).


curvature?

optional curvature: 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?

optional label: string | null

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

Optional edge label.


properties?

optional properties: 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?

optional weight: number | null

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

Weight of the edge (for weighted graphs).