Skip to content

Interface: PathResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Communities / PathResponse

Interface: PathResponse

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

Response of a shortest-path query.

Properties

componentCount

componentCount: number

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

Number of connected components in the graph.


path?

optional path: string[] | null

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

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