Graph

@Serializable
data class Graph(val description: Message? = null, val edges: List<Edge>? = null, val nodes: List<Node>? = null, val properties: PropertyBag? = null)

A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).

Constructors

Link copied to clipboard
constructor(description: Message? = null, edges: List<Edge>? = null, nodes: List<Node>? = null, properties: PropertyBag? = null)

Properties

Link copied to clipboard
val description: Message? = null

A description of the graph.

Link copied to clipboard
val edges: List<Edge>? = null

An array of edge objects representing the edges of the graph.

Link copied to clipboard
val nodes: List<Node>? = null

An array of node objects representing the nodes of the graph.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the graph.