Node

org.llm4s.knowledgegraph.Node
case class Node(id: String, label: String, properties: Map[String, Value])

Represents a node (entity) in the knowledge graph.

Value parameters

id

Unique identifier for the node

label

The type or category of the entity (e.g., "Person", "Organization")

properties

Additional attributes of the entity (preserves JSON types)

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