diff --git a/Project.toml b/Project.toml index ade44a662..40095e4b8 100644 --- a/Project.toml +++ b/Project.toml @@ -8,9 +8,9 @@ Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" FFMPEG = "c87230d0-a227-11e9-1b43-d7ebe4e7570a" GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" +Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" -LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" LightXML = "9c8b4983-aa76-5018-a973-4c85ecc9e179" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MeshCat = "283c5d60-a78f-5afe-a0af-af636b173e11" @@ -31,9 +31,9 @@ Colors = "<0.12.8, 0.12.8" DocStringExtensions = "<0.8.6, 0.8.6" FFMPEG = "0.4.1" GeometryBasics = "<0.4.0, 0.4.0" +Graphs = "1.5, 1.6" JLD2 = "<0.4.22, 0.4.22" LaTeXStrings = "1.3" -LightGraphs = "1.3" LightXML = "<0.9.0, 0.9.0" MeshCat = "<0.14.0, 0.14.0" Meshing = "<0.5.7, 0.5.7" diff --git a/src/Dojo.jl b/src/Dojo.jl index 6cd6edd57..bb2c5b4bf 100644 --- a/src/Dojo.jl +++ b/src/Dojo.jl @@ -20,7 +20,7 @@ using MeshCat import MeshCat: render using Meshing using GeometryBasics -using LightGraphs +using Graphs using JLD2 using DocStringExtensions diff --git a/src/graph/system.jl b/src/graph/system.jl index b2200e9a6..aa2dafb46 100644 --- a/src/graph/system.jl +++ b/src/graph/system.jl @@ -56,7 +56,7 @@ struct System{N} acyclic_children = [Int64[] for i=1:N] cycles = [Vector{Int64}[] for i=1:N] parents = [Int64[] for i=1:N] - edgelist = LightGraphs.SimpleEdge{Int64}[] + edgelist = Graphs.SimpleEdge{Int64}[] for (i,graph) in enumerate(graphs) root = roots[i]