true if a graph with id has been registered.
true
id
bool hasGraph(String id) => _graphs.containsKey(id);