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

Go to the source code of this file.

Functions

void graph_add_edge (t_graph *graph, const void *v1, const void *v2)
 Adds an edge between two vertices in the graph. More...
 

Function Documentation

◆ graph_add_edge()

void graph_add_edge ( t_graph graph,
const void *  v1,
const void *  v2 
)

Adds an edge between two vertices in the graph.

Parameters
v1One vertex
v2The other vertex

Definition at line 16 of file graph_add_edge.c.