Class is used for storing graph.
More...
#include <com/navigine/idl/objc/NCGraph.h>
Inherits NSObject.
Class is used for storing graph.
Referenced from Sublocation.
Definition at line 21 of file NCGraph.h.
◆ edges
List of edges that connected vertexes GraphEdge.
Swift code snippet:
// Get graph edges
let edges = graph.getEdges()
print("Number of graph edges: \(edges.count)")
Objective C code snippet:
NSArray<NCGraphEdge *> *edges = [graph getEdges];
NSLog(@"Number of graph edges: %lu", (unsigned long)edges.count);
Definition at line 51 of file NCGraph.h.
◆ valid
Tells if this object is valid or not. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now.
Definition at line 59 of file NCGraph.h.
◆ vertexes
List of connected vertexes GraphVertex.
Swift code snippet:
// Get graph vertices
let vertices = graph.getVertices()
print("Number of graph vertices: \(vertices.count)")
Objective C code snippet:
NSArray<NCGraphVertex *> *vertices = [graph getVertices];
NSLog(@"Number of graph vertices: %lu", (unsigned long)vertices.count);
Definition at line 36 of file NCGraph.h.
The documentation for this class was generated from the following file: