# Import graphs in graphml format

**URL:** <https://discourse.julialang.org/t/import-graphs-in-graphml-format/89436>\
**Category:** General Usage\
**Created:** [October 28, 2022, 9:21am UTC](https://discourse.julialang.org/t/import-graphs-in-graphml-format/89436 "2022-10-28T09:21:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmad88](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmad88/32/32437_2.png) [@ahmad88](https://discourse.julialang.org/u/ahmad88)\
**Post date:** [October 28, 2022, 9:21am UTC](https://discourse.julialang.org/t/import-graphs-in-graphml-format/89436/1 "2022-10-28T09:21:50Z")

</div>

I have more than 700 graphs saved in textfiles in graphml format, I want to import those graphs to my julia code get the edge list from each graph and run a specific code for each graph and save the output for each graph in excel sheet there is any documentation about that, the file looks like this

```julia
<?xml version="1.0"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns&#10;http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd&quot;&gt;&#10;">
	<graph id="G" edgedefault="undirected">
		<node id="0" />
		<node id="1" />
		<edge id="0" source="1" target="0" />
	</graph>
</graphml>

```

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [October 28, 2022, 11:14am UTC](https://discourse.julialang.org/t/import-graphs-in-graphml-format/89436/2 "2022-10-28T11:14:13Z")

</div>

Hi there! What have you tried so far? Did you find GraphIO.jl? Did it not work?
