public FlowGraph graph() {
		if(editorInUse) {
			throw new IllegalStateException("Cannot use flow-graph while a editor is in use!");
		}
		graphInUse = true;
		if(graph == null) {
			graph = new FlowGraph(editor);
		}
		return graph;
	}