PathsToRootResult

@Serializable
data class PathsToRootResult(val rootKey: String, val paths: Map<String, List<String>>)(source)

Result of paths-to-root analysis. Contains shortest paths from each node to the graph root.

Constructors

Link copied to clipboard
constructor(rootKey: String, paths: Map<String, List<String>>)

Properties

Link copied to clipboard

Map from node key to its shortest path to root (list of keys from node to root inclusive).

Link copied to clipboard

The graph root node key.