# \#metagraphs

**URL:** https://discourse.julialang.org/tag/metagraphs/133.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [The graphs ecosystem](https://discourse.julialang.org/t/the-graphs-ecosystem/99463)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 35\
**Last updated:** [August 6, 2024, 10:01am UTC](https://discourse.julialang.org/t/the-graphs-ecosystem/99463 "2024-08-06T10:01:22Z")

</div>

Hey everyone, The very fruitful discussion on fixing package fragmentation started from a remark I made on Slack about graphs, which is why I’m asking the community for ideas and support. In my opinion, the most import…

---

## [How to create a multigraph with weights?](https://discourse.julialang.org/t/how-to-create-a-multigraph-with-weights/77020)

<div class="topic-metadata">

**Author:** [@MILAJO](https://discourse.julialang.org/u/MILAJO)\
**Replies:** 5\
**Last updated:** [February 22, 2023, 2:40pm UTC](https://discourse.julialang.org/t/how-to-create-a-multigraph-with-weights/77020 "2023-02-22T14:40:00Z")

</div>

Hi. I have now been searching through multiple source codes within the different Julia graphs packages ( Graphs, MetaGraphs, SimpleWeightedGraphs) and also found the package called Multigraphs. However, I cannot seem to…

---

## [MetaGraphs.jl PR pending](https://discourse.julialang.org/t/metagraphs-jl-pr-pending/90101)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 3:32pm UTC](https://discourse.julialang.org/t/metagraphs-jl-pr-pending/90101 "2022-11-15T15:32:43Z")

</div>

Could someone please have a look at my PR from March ? I am developing a side package that may be soon published and I wouldn’t want to have a dependency pointing to my fork… Sorry for bringing my request here. I’ve a…

---

## [Performance of weighed graphs](https://discourse.julialang.org/t/performance-of-weighed-graphs/83661)

<div class="topic-metadata">

**Author:** [@Jirka\_Fink](https://discourse.julialang.org/u/Jirka_Fink)\
**Replies:** 9\
**Last updated:** [July 12, 2022, 9:02am UTC](https://discourse.julialang.org/t/performance-of-weighed-graphs/83661 "2022-07-12T09:02:38Z")

</div>

I work on combinarotial optimization, so I am looking data structures storing weighed graph. At https://juliagraphs.org/, I found SimpleWeightedGraphs, MetaGraphs, MetaGraphsNext. However, neither of them seems to me t…

---

## [Visualizing a dynamic changing graph](https://discourse.julialang.org/t/visualizing-a-dynamic-changing-graph/80255)

<div class="topic-metadata">

**Author:** [@flobe](https://discourse.julialang.org/u/flobe)\
**Replies:** 2\
**Last updated:** [April 29, 2022, 6:45pm UTC](https://discourse.julialang.org/t/visualizing-a-dynamic-changing-graph/80255 "2022-04-29T18:45:01Z")

</div>

Hi all, I am in the process of implementing a graph using MetaGraphs(Next).jl. The graph dynamically expands over time. Currently, I am using GraphRecipes to visualize the resulting graph at the end of my “time simulat…

---

## [Custom array (a variations on adjacency matrix for graphs)](https://discourse.julialang.org/t/custom-array-a-variations-on-adjacency-matrix-for-graphs/79196)

<div class="topic-metadata">

**Author:** [@AlexanderChen](https://discourse.julialang.org/u/AlexanderChen)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 6:18am UTC](https://discourse.julialang.org/t/custom-array-a-variations-on-adjacency-matrix-for-graphs/79196 "2022-04-08T06:18:03Z")

</div>

Hi, So I am doing a project in which i need to heavily use a graph structure. I have tried several graph package in the past, but they are not flexible enough for my use case. So I started to wonder if the following is …

---

## [Delete multiple edges with specific property in a metagraph](https://discourse.julialang.org/t/delete-multiple-edges-with-specific-property-in-a-metagraph/76745)

<div class="topic-metadata">

**Author:** [@ChristianStehr](https://discourse.julialang.org/u/ChristianStehr)\
**Replies:** 8\
**Last updated:** [February 19, 2022, 2:53pm UTC](https://discourse.julialang.org/t/delete-multiple-edges-with-specific-property-in-a-metagraph/76745 "2022-02-19T14:53:34Z")

</div>

Hello everyone, I want to delete multiple edges in a metagraph that have a specific property, here is my mwe: using MetaGraphs, Graphs g = erdos\_renyi(1000,5000) mg = MetaGraph(g) for i in 1:nv(mg) #give all edges spec…

---

## [Creating a graph with objects or structs as nodes](https://discourse.julialang.org/t/creating-a-graph-with-objects-or-structs-as-nodes/76088)

<div class="topic-metadata">

**Author:** [@flobe](https://discourse.julialang.org/u/flobe)\
**Replies:** 3\
**Last updated:** [February 10, 2022, 10:54am UTC](https://discourse.julialang.org/t/creating-a-graph-with-objects-or-structs-as-nodes/76088 "2022-02-10T10:54:36Z")

</div>

Hi everyone, I would like to create a graph where the nodes can contain multiple pieces of information. I tried to use graph.jl, but currently I don’t see any way to store more information than the child nodes. For exa…

---

## [Metagraphs/GraphIO: How to save graph properties to file?](https://discourse.julialang.org/t/metagraphs-graphio-how-to-save-graph-properties-to-file/23553)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 0\
**Last updated:** [April 26, 2019, 12:30pm UTC](https://discourse.julialang.org/t/metagraphs-graphio-how-to-save-graph-properties-to-file/23553 "2019-04-26T12:30:34Z")

</div>

Dear Community, I have a graph with several properties on nodes and edges but fail to save them to a standard format, for instance, GML. Here is minimal example: #packages using LightGraphs, MetaGraphs, GraphIO, Parser…

---

## [Some structures cannot be differentiated automatically?](https://discourse.julialang.org/t/some-structures-cannot-be-differentiated-automatically/50358)

<div class="topic-metadata">

**Author:** [@yeruoforever](https://discourse.julialang.org/u/yeruoforever)\
**Replies:** 0\
**Last updated:** [November 18, 2020, 5:46am UTC](https://discourse.julialang.org/t/some-structures-cannot-be-differentiated-automatically/50358 "2020-11-18T05:46:43Z")

</div>

Dear All, I am a student learning neural network. I implemented a small graph neural network model using Flux and MetaGraphs, but there was a problem that puzzled me. I posted the problematic code below, hope my friends…

---

## [Unioning MetaGraphs](https://discourse.julialang.org/t/unioning-metagraphs/49204)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 8:33pm UTC](https://discourse.julialang.org/t/unioning-metagraphs/49204 "2020-10-28T20:33:40Z")

</div>

I don’t completely understand the error, but looks like some methods from Base might need to be exended. What is the minimum I would need to implement to make this work?: g1 = MetaDiGraph(4) add\_edge!(g1, 1, 2) add\_edg…

---

## [\[ANN\] - MetaGraphs major changes coming](https://discourse.julialang.org/t/ann-metagraphs-major-changes-coming/33992)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 4\
**Last updated:** [June 17, 2020, 4:40pm UTC](https://discourse.julialang.org/t/ann-metagraphs-major-changes-coming/33992 "2020-06-17T16:40:09Z")

</div>

Hi all, I just wanted to announce that we’ve released v0.6.5 of MetaGraphs, the LightGraphs-with-metadata package. This will be, hopefully, the final release of MetaGraphs before a fairly significant set of breaking cha…

---

## [Problem LightGraphs creating graphs and accessing vertices LightGraphs](https://discourse.julialang.org/t/problem-lightgraphs-creating-graphs-and-accessing-vertices-lightgraphs/40804)

<div class="topic-metadata">

**Author:** [@Florent\_Poux](https://discourse.julialang.org/u/Florent_Poux)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 11:25am UTC](https://discourse.julialang.org/t/problem-lightgraphs-creating-graphs-and-accessing-vertices-lightgraphs/40804 "2020-06-05T11:25:49Z")

</div>

Hi, I struggle to have a reliable behavior using Lightgraphs. Yesterday, I could plot some graphs based on some arrays I had, but impossible to use the command “vertices(G)” for example (returned: UndefVarError: vertice…

---

## [Bipartite weighted network](https://discourse.julialang.org/t/bipartite-weighted-network/35985)

<div class="topic-metadata">

**Author:** [@mp-crypto](https://discourse.julialang.org/u/mp-crypto)\
**Replies:** 7\
**Last updated:** [March 16, 2020, 3:17pm UTC](https://discourse.julialang.org/t/bipartite-weighted-network/35985 "2020-03-16T15:17:31Z")

</div>

Hello, I am new to Julia (moving from Python). I am trying to generate a bipartite weighted network from a data frame. The data frame contains the “edgelist” (i.e., a column for bottom nodes, and a column for top nodes)…

---

## [Specifying integer edge weights in SimpleWeightedGraph](https://discourse.julialang.org/t/specifying-integer-edge-weights-in-simpleweightedgraph/33315)

<div class="topic-metadata">

**Author:** [@rkurchin](https://discourse.julialang.org/u/rkurchin)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 9:01pm UTC](https://discourse.julialang.org/t/specifying-integer-edge-weights-in-simpleweightedgraph/33315 "2020-01-13T21:01:43Z")

</div>

Hi, I hope this is the right place to post this. It’s sort of a followup to this question but on a somewhat different aspect. In particular, I want to construct a SimpleWeightedGraph (which will eventually be passed to …

---

## [How can I read a MetaGraph in GML format?](https://discourse.julialang.org/t/how-can-i-read-a-metagraph-in-gml-format/30786)

<div class="topic-metadata">

**Author:** [@Diego\_Javier\_Zea](https://discourse.julialang.org/u/Diego_Javier_Zea)\
**Replies:** 0\
**Last updated:** [November 6, 2019, 10:18am UTC](https://discourse.julialang.org/t/how-can-i-read-a-metagraph-in-gml-format/30786 "2019-11-06T10:18:26Z")

</div>

Hi! I have a graph with edge and node metadata in GML format, how can I read it into a MetaGraph? Thanks in advance,

---

## [GraphIO and MetaGraphs](https://discourse.julialang.org/t/graphio-and-metagraphs/17048)

<div class="topic-metadata">

**Author:** [@cdsousa](https://discourse.julialang.org/u/cdsousa)\
**Replies:** 3\
**Last updated:** [November 5, 2018, 5:42pm UTC](https://discourse.julialang.org/t/graphio-and-metagraphs/17048 "2018-11-05T17:42:57Z")

</div>

Hi, Is it possible to save (and load) MetaGraphs graphs to common formats while maintaining the metadata?

---

## [ANN: MetaGraphs: LightGraphs With Metadata](https://discourse.julialang.org/t/ann-metagraphs-lightgraphs-with-metadata/4983)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 1\
**Last updated:** [July 20, 2017, 11:09pm UTC](https://discourse.julialang.org/t/ann-metagraphs-lightgraphs-with-metadata/4983 "2017-07-20T23:09:52Z")

</div>

(…or, Christmas in July) I’m very excited to announce MetaGraphs.jl, the latest product of our LightGraphs.jl abstraction efforts. From day 1, associating metadata with vertices and edges has been the #1 request of Lig…
