what is the correct notation to insert a specific kind of an edge to a graph

52 Views Asked by At

what is the correct notation to insert a specific kind of edge to a graph? is it okay to use a 3-tuple

$\mathit{graph} \gets (a, b, \mathit{direct})$

$\mathit{graph} \gets (a, b, \mathit{transitive})$