ApiGraph

data class ApiGraph(val nodes: List<ApiNode>, val edges: List<ApiEdge>)(source)

Represents a graph consisting of ApiNodes and ApiEdges.

Author

Jan Müller

Constructors

Link copied to clipboard
constructor(nodes: List<ApiNode>, edges: List<ApiEdge>)

Creates an ApiGraph with the given parameters.

Properties

Link copied to clipboard

List of ApiEdges that are part of the graph.

Link copied to clipboard

List of ApiNodes that are part of the graph.

Functions

Link copied to clipboard

Attempts to create a domain Graph from an ApiGraph or returns an error if it is invalid.