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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product