GraphStats

org.llm4s.knowledgegraph.storage.GraphStats
case class GraphStats(nodeCount: Long, edgeCount: Long, averageDegree: Double, densestNodeId: Option[String])

Statistics about a graph.

Value parameters

averageDegree

Average number of connections per node

densestNodeId

Node with the most connections (if any)

edgeCount

Total number of edges

nodeCount

Total number of nodes

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