data_structures
Functions
graph_new.c File Reference
#include "graph.h"
+ Include dependency graph for graph_new.c:

Go to the source code of this file.

Functions

t_graphgraph_new (const t_type *type)
 Initializes a new graph with vertices of the specified type. More...
 

Function Documentation

◆ graph_new()

t_graph* graph_new ( const t_type type)

Initializes a new graph with vertices of the specified type.

Parameters
typeThe type of vertices
Returns
The new graph

Definition at line 16 of file graph_new.c.