4.4. igraph_isoclass_create — Creates a graph from the given isomorphism class.

int igraph_isoclass_create(igraph_t *graph, igraph_integer_t size,
			   igraph_integer_t number, igraph_bool_t directed);

This function is implemented only for graphs with three or four vertices.

Arguments: 

graph:

Pointer to an uninitialized graph object.

size:

The number of vertices to add to the graph.

number:

The isomorphism class.

directed:

Logical constant, whether to create a directed graph.

Returns: 

Error code.

See also: 

igraph_isoclass(), igraph_isoclass_subgraph(), igraph_isomorphic().

Time complexity: O(|V|+|E|), the number of vertices plus the number of edges in the graph to create.