# Any Julia package with support for 'graph6' graph encoding?

**URL:** <https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893>\
**Category:** Graphs\
**Tags:** question, graphs\
**Created:** [February 3, 2017, 11:27pm UTC](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893 "2017-02-03T23:27:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vsart/32/501_2.png) [@vsart](https://discourse.julialang.org/u/vsart)\
**Post date:** [February 3, 2017, 11:27pm UTC](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893/1 "2017-02-03T23:27:57Z")

</div>

`graph6` format is a somewhat common encoding for graphs, and is available in several graph libraries/mathematical software, including [NetworkX](https://networkx.readthedocs.io/en/stable/reference/readwrite.sparsegraph6.html#module-networkx.readwrite.graph6).

I’m currently working on a project that would benefit from moving to Julia and if there was a graph package with support for this format it would make it a lot easier to port it over.

The package [LightGraphs.jl](https://github.com/JuliaGraphs/LightGraphs.jl) has support for quite a few [formats](https://juliagraphs.github.io/LightGraphs.jl/latest/persistence/) already, so I thought about maybe making a feature request there but decided to ask around first.

For anyone curious, [here](http://users.cecs.anu.edu.au/~bdm/data/formats.txt) is a description of the format.

---

<div class="post-metadata">

**Author:** ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Post date:** [February 23, 2017, 5:35pm UTC](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893/2 "2017-02-23T17:35:39Z")

</div>

This should be fairly straightforward to implement in LightGraphs. I’ve opened up an issue to track and to see whether there are any volunteers; if I find some time I’ll whip something up myself.

---

<div class="post-metadata">

**Author:** ![Mikulas\_Vanousek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikulas_vanousek/32/203966_2.png) [@Mikulas\_Vanousek](https://discourse.julialang.org/u/Mikulas_Vanousek)\
**Post date:** [November 16, 2023, 10:42am UTC](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893/3 "2023-11-16T10:42:08Z")

</div>

I see that [GraphIO.jl](https://github.com/JuliaGraphs/GraphIO.jl) package indeed supports the format.
