TraversalConfig

org.llm4s.knowledgegraph.storage.TraversalConfig
case class TraversalConfig(maxDepth: Int, direction: Direction, visitedNodeIds: Set[String])

Configuration for graph traversal operations.

Value parameters

direction

Direction of traversal (Outgoing, Incoming, Both). Controls whether traversal follows outgoing, incoming, or all edges from each node.

maxDepth

Maximum number of hops/edges to traverse from the start node (inclusive)

visitedNodeIds

Optional set of already-visited nodes to exclude

Attributes

Source
GraphStore.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product