Loading...
Searching...
No Matches
Graph Class Referenceabstract

Class is used for storing graph. More...

Inherits Finalizable.

Public Attributes

List< GraphVertex > get vertexes
 List of connected vertexes GraphVertex.
 
List< GraphEdge > get edges
 List of edges that connected vertexes GraphEdge.
 

Detailed Description

Class is used for storing graph.

Referenced from Sublocation.

Definition at line 21 of file graph.dart.

Member Data Documentation

◆ edges

List<GraphEdge> get Graph.edges

List of edges that connected vertexes GraphEdge.

Dart code snippet:

// Get graph edges
List<GraphEdge> edges = graph.getEdges();
print('Number of graph edges: ${edges.length}');

Definition at line 42 of file graph.dart.

◆ vertexes

List<GraphVertex> get Graph.vertexes

List of connected vertexes GraphVertex.

Dart code snippet:

// Get graph vertices
List<GraphVertex> vertices = graph.getVertices();
print('Number of graph vertices: ${vertices.length}');

Definition at line 33 of file graph.dart.


The documentation for this class was generated from the following file: