Graph

open class Graph : PropertyOwner

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

Properties

Link copied to clipboard
@SerializedName(value = "description")
@Expose
open var description: Message
Encapsulates a message intended to be read by the end user.
Link copied to clipboard
@SerializedName(value = "edges")
@Expose
open var edges: Set<Edge>
An array of edge objects representing the edges of the graph.
Link copied to clipboard
@SerializedName(value = "nodes")
@Expose
open var nodes: Set<Node>
An array of node objects representing the nodes of the graph.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun withDescription(description: Message): Graph
Link copied to clipboard
open fun withEdges(edges: Set<Edge>): Graph
Link copied to clipboard
open fun withNodes(nodes: Set<Node>): Graph
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Graph