Skip to content

Interface: PathResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PathResponse

Defined in: src/types/communities.ts:437

Response of a shortest-path query.

componentCount: number

Defined in: src/types/communities.ts:439

Number of connected components in the graph.


graphObservation: ReferenceGraphObservation

Defined in: src/types/communities.ts:443

The explicit loop-free reference projection this metric used.


optional path?: string[] | null

Defined in: src/types/communities.ts:441

The shortest path as a node sequence (source..=target), if reachable.