# \#graphs

**URL:** https://discourse.julialang.org/tag/graphs/776.md

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

---

## [Why is the OSMMakie plot out of bounds?](https://discourse.julialang.org/t/why-is-the-osmmakie-plot-out-of-bounds/135591)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [February 13, 2026, 8:30am UTC](https://discourse.julialang.org/t/why-is-the-osmmakie-plot-out-of-bounds/135591 "2026-02-13T08:30:10Z")

</div>

Hello, In the example below, the plotted area (including roadways) is outside of the bounds defined in area. Why is this happening? using GLMakie using LightOSM using OSMMakie file\_name = "woodstock\_illinois\_park.osm"…

---

## [Postdoc offer: graph algorithms on GPU with Julia](https://discourse.julialang.org/t/postdoc-offer-graph-algorithms-on-gpu-with-julia/133465)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 0\
**Last updated:** [October 27, 2025, 5:34pm UTC](https://discourse.julialang.org/t/postdoc-offer-graph-algorithms-on-gpu-with-julia/133465 "2025-10-27T17:34:59Z")

</div>

Hi all :waving\_hand: I’m recruiting a postdoctoral researcher on a fully funded 2-year contract. The topic is developing and implementing new parallel graph algorithms in Julia, with applications to data-driven transpor…

---

## [Retrieving shortest paths from Graphs.jl](https://discourse.julialang.org/t/retrieving-shortest-paths-from-graphs-jl/130539)

<div class="topic-metadata">

**Author:** [@GRASP\_lover123](https://discourse.julialang.org/u/GRASP_lover123)\
**Replies:** 11\
**Last updated:** [July 11, 2025, 5:26pm UTC](https://discourse.julialang.org/t/retrieving-shortest-paths-from-graphs-jl/130539 "2025-07-11T17:26:57Z")

</div>

Hi everybody, I’m using Graphs.jl to get shortest paths using the a\* function, which give the list of edges in the shortest path from one node to another. Recently I’ve needed to get the shortest paths from all nodes to…

---

## [How to extract the dependency (also called causal) graph of a ModelingToolkit.jl ODE model?](https://discourse.julialang.org/t/how-to-extract-the-dependency-also-called-causal-graph-of-a-modelingtoolkit-jl-ode-model/130576)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 4\
**Last updated:** [July 9, 2025, 7:31pm UTC](https://discourse.julialang.org/t/how-to-extract-the-dependency-also-called-causal-graph-of-a-modelingtoolkit-jl-ode-model/130576 "2025-07-09T19:31:17Z")

</div>

I am trying to create the dependency (sometimes called causal) graph of a complex ODE System I have created symbolically with MTK. To do this I am using the dependency graph functionality of MTK \[found here\], however I c…

---

## [\[ANN\] Announcing CliqueTrees.jl: Tree Decompositions in Julia](https://discourse.julialang.org/t/ann-announcing-cliquetrees-jl-tree-decompositions-in-julia/128808)

<div class="topic-metadata">

**Author:** [@samuelsonric](https://discourse.julialang.org/u/samuelsonric)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 3:57pm UTC](https://discourse.julialang.org/t/ann-announcing-cliquetrees-jl-tree-decompositions-in-julia/128808 "2025-05-07T15:57:07Z")

</div>

Introduction CliqueTrees.jl is a Julia package for constructing tree decompositions and chordal completions of graphs. Tree decompositions are often used to schedule computations in dynamic programming algorithms. In par…

---

## [Package to do graph combinatorics](https://discourse.julialang.org/t/package-to-do-graph-combinatorics/128569)

<div class="topic-metadata">

**Author:** [@drandran12](https://discourse.julialang.org/u/drandran12)\
**Replies:** 0\
**Last updated:** [April 30, 2025, 12:27pm UTC](https://discourse.julialang.org/t/package-to-do-graph-combinatorics/128569 "2025-04-30T12:27:10Z")

</div>

Hey everyone, I am looking for a package that can do graph combinatorics. For example, suppose I have m distinguishable lines and n distinguishable edges, compute all the possible ways to make the graph. Anyone who kno…

---

## [Julia Consulting by Julius Technologies](https://discourse.julialang.org/t/julia-consulting-by-julius-technologies/105121)

<div class="topic-metadata">

**Author:** [@James\_Lee](https://discourse.julialang.org/u/James_Lee)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 6:23pm UTC](https://discourse.julialang.org/t/julia-consulting-by-julius-technologies/105121 "2025-02-28T18:23:41Z")

</div>

I am thrilled to introduce Julius Technologies Consulting, the consulting arm for Julius Technologies. As you may already know, Julius Technologies offers a low-code graph computing solution that makes it simple for dev…

---

## [\[ANN\] A database of quantum graph states equivalent under local operations](https://discourse.julialang.org/t/ann-a-database-of-quantum-graph-states-equivalent-under-local-operations/126013)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 3:10am UTC](https://discourse.julialang.org/t/ann-a-database-of-quantum-graph-states-equivalent-under-local-operations/126013 "2025-02-18T03:10:27Z")

</div>

Quantum graph states are a useful tool to study quantum entanglement and a resource in networking and computation. Knowing whether two graph states are equivalent under local operations is quite useful when studying how …

---

## [Launching the graphs community calls](https://discourse.julialang.org/t/launching-the-graphs-community-calls/103880)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 23\
**Last updated:** [February 7, 2025, 9:38pm UTC](https://discourse.julialang.org/t/launching-the-graphs-community-calls/103880 "2025-02-07T21:38:23Z")

</div>

In an effort to strengthen the graphs ecosystem, and following the lead of other organizations, we are launching the graphs community calls :tada: Our first goal is that contributors get to know each other and agree on …

---

## [Replicating power law distribution](https://discourse.julialang.org/t/replicating-power-law-distribution/125021)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [January 21, 2025, 10:24pm UTC](https://discourse.julialang.org/t/replicating-power-law-distribution/125021 "2025-01-21T22:24:08Z")

</div>

Hi, I am trying to generate a power law degree distribution using barabasi\_albert from Graphs.jl. I am having trouble replicating the figure 4 on page 7 of this resource. Please forgive me in advance if I am doing somet…

---

## [\[ANN\] Vahana.jl - Framework for large-scale agent-based models](https://discourse.julialang.org/t/ann-vahana-jl-framework-for-large-scale-agent-based-models/102024)

<div class="topic-metadata">

**Author:** [@sfuerst](https://discourse.julialang.org/u/sfuerst)\
**Replies:** 19\
**Last updated:** [November 18, 2024, 7:46pm UTC](https://discourse.julialang.org/t/ann-vahana-jl-framework-for-large-scale-agent-based-models/102024 "2024-11-18T19:46:36Z")

</div>

I’m happy to announce the release of Vahana.jl, a framework for (not only) large-scale agent-based models with a focus on complex social networks. There will also be a prerecorded talk at JuliaCon tomorrow. The reposit…

---

## [Grouping geommetries by colums](https://discourse.julialang.org/t/grouping-geommetries-by-colums/122241)

<div class="topic-metadata">

**Author:** [@Daves\_Cordova](https://discourse.julialang.org/u/Daves_Cordova)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 2:33pm UTC](https://discourse.julialang.org/t/grouping-geommetries-by-colums/122241 "2024-11-05T14:33:28Z")

</div>

I need to combine geometries for a shapefile. Initially, there is shapefile\_path\_cities that will form the layer behind, after theres is shapefile\_path\_highways: using GeoDataFrames using DataFrames using XLSX using Plo…

---

## [BoundsError: attempt to access 55-element Vector{Float64} at index \[3-element BitVector\] OR UndefVarError: \`vertex\_counter\` not defined](https://discourse.julialang.org/t/boundserror-attempt-to-access-55-element-vector-float64-at-index-3-element-bitvector-or-undefvarerror-vertex-counter-not-defined/121955)

<div class="topic-metadata">

**Author:** [@tfranks](https://discourse.julialang.org/u/tfranks)\
**Replies:** 7\
**Last updated:** [October 30, 2024, 6:37pm UTC](https://discourse.julialang.org/t/boundserror-attempt-to-access-55-element-vector-float64-at-index-3-element-bitvector-or-undefvarerror-vertex-counter-not-defined/121955 "2024-10-30T18:37:07Z")

</div>

Hello, I’ve created bank and depositor agents and would now like to render as a graph with banks as the nodes and the depositors forming the edges that change at every time step. A snippet of the data frame is inserted…

---

## [Scheduler errors when trying to graph agents](https://discourse.julialang.org/t/scheduler-errors-when-trying-to-graph-agents/121706)

<div class="topic-metadata">

**Author:** [@tfranks](https://discourse.julialang.org/u/tfranks)\
**Replies:** 4\
**Last updated:** [October 29, 2024, 10:35pm UTC](https://discourse.julialang.org/t/scheduler-errors-when-trying-to-graph-agents/121706 "2024-10-29T22:35:05Z")

</div>

Hello, I’ve created an agent-based model where depositor agents withdraw money from bank agents. I’m now trying to create a visual of the network by using Graphs.jl to show the banks as nodes and the depositors’ paths a…

---

## [Problem with weight retrieval in Directed Graphs](https://discourse.julialang.org/t/problem-with-weight-retrieval-in-directed-graphs/120784)

<div class="topic-metadata">

**Author:** [@paul20](https://discourse.julialang.org/u/paul20)\
**Replies:** 3\
**Last updated:** [October 1, 2024, 2:41pm UTC](https://discourse.julialang.org/t/problem-with-weight-retrieval-in-directed-graphs/120784 "2024-10-01T14:41:44Z")

</div>

I’ve been using the SimpleWeightedDiGraph from the SimpleWeightedGraphs package for creating directed weighted graphs. Recently, I encountered a problem related to weight retrieval of edges. When initializing a SimpleWe…

---

## [GraphNeuralNetworks.jl or GeometricFlux.jl](https://discourse.julialang.org/t/graphneuralnetworks-jl-or-geometricflux-jl/119883)

<div class="topic-metadata">

**Author:** [@depasquale](https://discourse.julialang.org/u/depasquale)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 8:13pm UTC](https://discourse.julialang.org/t/graphneuralnetworks-jl-or-geometricflux-jl/119883 "2024-09-25T20:13:03Z")

</div>

Hi all, In the least divisive tone possible, I was wondering if anyone could weigh in on the benefits/downsides of GraphNeuralNetworks.jl and GeometricFlux.jl. I am getting into GNNs in julia, and they seems to overlap.…

---

## [\[NEW\] NautyGraphs.jl](https://discourse.julialang.org/t/new-nautygraphs-jl/119029)

<div class="topic-metadata">

**Author:** [@mxhbl](https://discourse.julialang.org/u/mxhbl)\
**Replies:** 7\
**Last updated:** [September 20, 2024, 2:42pm UTC](https://discourse.julialang.org/t/new-nautygraphs-jl/119029 "2024-09-20T14:42:39Z")

</div>

NautyGraphs.jl I am excited to announce my first package NautyGraphs.jl, which is now available through the general registry. NautyGraphs is a Julia interface to the famous graph isomorphism library nauty by Brendan McK…

---

## [Persistent vertex identities for Steiner tree, vertex removal](https://discourse.julialang.org/t/persistent-vertex-identities-for-steiner-tree-vertex-removal/119568)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 7\
**Last updated:** [September 20, 2024, 2:32pm UTC](https://discourse.julialang.org/t/persistent-vertex-identities-for-steiner-tree-vertex-removal/119568 "2024-09-20T14:32:39Z")

</div>

I have a use case for a large graph, from which I iteratively remove vertices, and at each step compute some Steiner trees from its current state. Specifically, my use case requires to know to which vertices in the origi…

---

## [How to work with JuMP and Graphs.jl](https://discourse.julialang.org/t/how-to-work-with-jump-and-graphs-jl/118948)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 2\
**Last updated:** [September 2, 2024, 9:33pm UTC](https://discourse.julialang.org/t/how-to-work-with-jump-and-graphs-jl/118948 "2024-09-02T21:33:46Z")

</div>

I try to build a flow model using JuMP and (Meta)Graphs.jl. In particular I fail to index the variables. Here is an MWE: using Graphs using JuMP g = SimpleDiGraph(4) for i in 1:3 add\_edge!(g, i, i+1) end model = M…

---

## [RxInfer Domain Logic](https://discourse.julialang.org/t/rxinfer-domain-logic/117355)

<div class="topic-metadata">

**Author:** [@spolk](https://discourse.julialang.org/u/spolk)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 12:46pm UTC](https://discourse.julialang.org/t/rxinfer-domain-logic/117355 "2024-08-27T12:46:45Z")

</div>

Hello! I am trying to modify this example from RxInfer.jl’s documentation and get an error saying I didn’t initialize marginals when two unobserved states influence multiple observable results in the domain logic in a B…

---

## [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…

---

## [Graph label propagation with existing labels](https://discourse.julialang.org/t/graph-label-propagation-with-existing-labels/117395)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 6:36am UTC](https://discourse.julialang.org/t/graph-label-propagation-with-existing-labels/117395 "2024-07-24T06:36:33Z")

</div>

I have a MetaGraph(SimpleGraph(), String, Union{Missing,String}) (see Home · MetaGraphsNext.jl) object where some nodes have a string label and some nodes have the label missing. I would like to propagate existing label…

---

## [How to accurately plot 3D graph with very high peak in Julia?](https://discourse.julialang.org/t/how-to-accurately-plot-3d-graph-with-very-high-peak-in-julia/116317)

<div class="topic-metadata">

**Author:** [@Vinh](https://discourse.julialang.org/u/Vinh)\
**Replies:** 4\
**Last updated:** [June 28, 2024, 9:59pm UTC](https://discourse.julialang.org/t/how-to-accurately-plot-3d-graph-with-very-high-peak-in-julia/116317 "2024-06-28T21:59:08Z")

</div>

As the title says, I’m plotting a graph with very high peaks, but the output is really weird at (x,y)=(0.5,0.5) with no peaks at around 5\*10^11. I’m not really sure why that is. using GLMakie f(x, y) = y^2 / ((x - 0.5)^…

---

## [Cutting graphs at bridges](https://discourse.julialang.org/t/cutting-graphs-at-bridges/114533)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 2:57pm UTC](https://discourse.julialang.org/t/cutting-graphs-at-bridges/114533 "2024-05-22T14:57:31Z")

</div>

I’ve got a directed MetaGraphNext object g, which I’d like to run some algorithms on. I’ve run b = bridges(Graph(g.graph)) (since bridges apparently can’t be computed on a MetaGraph or a directed graph) to get a list of…

---

## [Autodiff for max-flow](https://discourse.julialang.org/t/autodiff-for-max-flow/114300)

<div class="topic-metadata">

**Author:** [@PaterPen](https://discourse.julialang.org/u/PaterPen)\
**Replies:** 14\
**Last updated:** [May 18, 2024, 10:56am UTC](https://discourse.julialang.org/t/autodiff-for-max-flow/114300 "2024-05-18T10:56:43Z")

</div>

Hi, I would like to use Enzyme.jl to get gradients for a max-flow result. Enzyme gives me an illegal type analysis error in this MWE: using Enzyme using Graphs, GraphsFlows # Graph from GraphsFlows.jl demo flow\_graph =…

---

## [Solving type instability when using Graphs.jl](https://discourse.julialang.org/t/solving-type-instability-when-using-graphs-jl/112862)

<div class="topic-metadata">

**Author:** [@alemelis](https://discourse.julialang.org/u/alemelis)\
**Replies:** 4\
**Last updated:** [April 12, 2024, 10:50am UTC](https://discourse.julialang.org/t/solving-type-instability-when-using-graphs-jl/112862 "2024-04-12T10:50:56Z")

</div>

This is the flame plot I get when profiling my iterative solver. You can see it’s pointed by tiny red blocks, which I’m trying to address one by one. In particular I’m now looking at the one highlighted by the red a…

---

## [Animating a graph changing edge colors](https://discourse.julialang.org/t/animating-a-graph-changing-edge-colors/111782)

<div class="topic-metadata">

**Author:** [@qotsalo](https://discourse.julialang.org/u/qotsalo)\
**Replies:** 7\
**Last updated:** [March 20, 2024, 11:26am UTC](https://discourse.julialang.org/t/animating-a-graph-changing-edge-colors/111782 "2024-03-20T11:26:33Z")

</div>

Hi there, I want to animate some simple graphs with changing colors in their edges. I thought it would be simple but I am definitely not a Julia expert and I am a bit stuck. I tried animating just the color of a single…

---

## [\[ANN\] NetworkJumpProcesses.jl - An interface to define JumpProcesses on Graphs](https://discourse.julialang.org/t/ann-networkjumpprocesses-jl-an-interface-to-define-jumpprocesses-on-graphs/111529)

<div class="topic-metadata">

**Author:** [@TimVWese](https://discourse.julialang.org/u/TimVWese)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 4:28pm UTC](https://discourse.julialang.org/t/ann-networkjumpprocesses-jl-an-interface-to-define-jumpprocesses-on-graphs/111529 "2024-03-12T16:28:36Z")

</div>

I have created NetworkJumpProcesses.jl in order to combine the functionalities of JumpProcesses.jl and Graphs.jl, in a similar fashion to NetworkDynamics.jl. The idea is to define some jumps (discrete state, continuous …

---

## [Is the use of DAGs in causal inference commonplace?](https://discourse.julialang.org/t/is-the-use-of-dags-in-causal-inference-commonplace/108984)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 7\
**Last updated:** [March 10, 2024, 10:45am UTC](https://discourse.julialang.org/t/is-the-use-of-dags-in-causal-inference-commonplace/108984 "2024-03-10T10:45:09Z")

</div>

A few years ago I worked through Richard McElreath’s Statistical Rethinking. In it, McElreath discusses the use of Directed Acyclic Graphs to specify/analyze causal models, briefly covers do-calculus, etc. I don’t work i…

---

## [Colouring edges in GraphMakie.jl](https://discourse.julialang.org/t/colouring-edges-in-graphmakie-jl/109082)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 11:50pm UTC](https://discourse.julialang.org/t/colouring-edges-in-graphmakie-jl/109082 "2024-03-09T23:50:33Z")

</div>

Hi! I’m making a graph based on an adjacency matrix of 1’s and 2’s (which indicates which colour the edge should be). Currently, I can’t colour individual edges like shown in the third example of this page. I think this…

[Next page](https://discourse.julialang.org/tag/graphs/776.md?match_all_tags=true&page=1&tags%5B%5D=graphs)
