clearAll method

void clearAll()

Clears all data from the graph.

This removes all assets, identifiers, directives, and outputs from the graph.

Implementation

void clearAll() {
  assets.clear();
  identifiers.clear();
  directives.clear();
  outputs.clear();
}