# Digraph edges notation

**URL:** <https://forum.elixirforum.com/t/digraph-edges-notation/60647>\
**Category:** Questions\
**Tags:** digraph\
**Created:** [December 30, 2023, 5:48pm UTC](https://forum.elixirforum.com/t/digraph-edges-notation/60647 "2023-12-30T17:48:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bjorng](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/bjorng/32/13187_2.png) [@bjorng](https://forum.elixirforum.com/u/bjorng)\
**Post date:** [January 1, 2024, 7:28am UTC](https://forum.elixirforum.com/t/digraph-edges-notation/60647/7 "2024-01-01T07:28:12Z")

</div>

> [@stevensonmt](#):
>
> I’m curious why that’s not the default behavior of `add_edge/3` though? Implicitly naming an edge with `{from, to}` has to be more intuitive than whatever `[:"$e" | N]` is meant to convey.

Using the `{from, to}` naming scheme will not work in general, because the `:digraph` module supports having any number of distinct edges between each pair of vertices.

---

_[View the full topic](https://forum.elixirforum.com/t/digraph-edges-notation/60647)._
