# Issue saving graphs using LightGraph

**URL:** <https://discourse.julialang.org/t/issue-saving-graphs-using-lightgraph/60826>\
**Category:** Graphs\
**Tags:** lightgraphs\
**Created:** [May 9, 2021, 2:14pm UTC](https://discourse.julialang.org/t/issue-saving-graphs-using-lightgraph/60826 "2021-05-09T14:14:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfried1](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bfried1](https://discourse.julialang.org/u/bfried1)\
**Post date:** [May 9, 2021, 2:14pm UTC](https://discourse.julialang.org/t/issue-saving-graphs-using-lightgraph/60826/1 "2021-05-09T14:14:12Z")

</div>

I am having trouble simply saving a graph in one of the formats offered by GraphIO

 ![Screen Shot 2021-05-09 at 4.13.55 PM](https://global.discourse-cdn.com/julialang/original/3X/2/5/25c6561f06443dff56e63b1f761f28621e362653.png)

---

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [May 10, 2021, 2:28am UTC](https://discourse.julialang.org/t/issue-saving-graphs-using-lightgraph/60826/2 "2021-05-10T02:28:36Z")

</div>

- Which Julia / LightGraphs version ?
- Maybe 4 parameter need ?
  - [GraphIO.jl/Gexf.jl at master · JuliaGraphs/GraphIO.jl · GitHub](https://github.com/JuliaGraphs/GraphIO.jl/blob/master/src/GEXF/Gexf.jl#L53)
  - maybe? : `savegraph(file, g, gname="graph", format=GEXFFormat)`

- IMHO: related Work in progress PR
  - [Gexf by pevnak · Pull Request #25 · JuliaGraphs/GraphIO.jl · GitHub](https://github.com/JuliaGraphs/GraphIO.jl/pull/25)
