Graph

data class Graph(val nodes: List<Node>, val edges: List<Edge>)(source)

Represents a graph consisting of Nodes and Edges.

Author

Jan Müller

Constructors

Link copied to clipboard
constructor(nodes: List<Node>, edges: List<Edge>)

Creates a Graph with the given nodes and edges.

Properties

Link copied to clipboard

List of Edges that are part of the graph.

Link copied to clipboard

List of Nodes that are part of the graph.