# Graph with tuple vertices?

**URL:** <https://discourse.julialang.org/t/graph-with-tuple-vertices/57585>\
**Category:** New to Julia\
**Created:** [March 20, 2021, 4:08am UTC](https://discourse.julialang.org/t/graph-with-tuple-vertices/57585 "2021-03-20T04:08:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevJac](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@DevJac](https://discourse.julialang.org/u/DevJac)\
**Post date:** [March 20, 2021, 4:08am UTC](https://discourse.julialang.org/t/graph-with-tuple-vertices/57585/1 "2021-03-20T04:08:24Z")

</div>

I need to work with a graph where the vertices are tuples. All the graph libraries I’ve seen in Julia expect the graph vertices to be integers. Any suggestions?

---

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [March 20, 2021, 5:41am UTC](https://discourse.julialang.org/t/graph-with-tuple-vertices/57585/2 "2021-03-20T05:41:14Z")

</div>

You can use [MetaGraphs.jl](https://github.com/JuliaGraphs/MetaGraphs.jl) and keep tuples as vertices metadata or just keep external dict with necessary bindings.
