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)(source)

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

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@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.