Creates the graph and contains its operations