Graph

@JsonClass(generateAdapter = true)
data class Graph(    @Json(name = "description") val description: Message? = null,     @Json(name = "edges") val edges: List<Edge>? = null,     @Json(name = "nodes") val nodes: List<Node>? = null,     @Json(name = "properties") 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
fun Graph(    @Json(name = "description") description: Message? = null,     @Json(name = "edges") edges: List<Edge>? = null,     @Json(name = "nodes") nodes: List<Node>? = null,     @Json(name = "properties") 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.

Sources

Link copied to clipboard