clear method

Graph clear()

Removes all nodes and edges from this graph.

Implementation

Graph clear() {
	_nodes.clear();
	_edges.clear();

	return this;
}