getGraph abstract method

Graph getGraph(
  1. String tag
)

Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph. tag graph tag. Returns found graph or null Graph.

Example:

// Get graph
Graph? graph = sublocation.getGraph();
if (graph != null) {
 demonstrateGraphUsage(graph);
}

Implementation

Graph getGraph(String tag);