mirror of
https://github.com/rm-code/Graphoon.git
synced 2024-11-16 18:24:22 +00:00
Fix constructor using the old addEdge function
This commit is contained in:
parent
9017b40da9
commit
4e5e302d32
@ -79,7 +79,7 @@ function Graph.new()
|
||||
end
|
||||
|
||||
for _, edge in pairs( table.edges ) do
|
||||
self:addEdge( nodes[edge.origin], nodes[edge.target] );
|
||||
addEdge( nodes[edge.origin], nodes[edge.target] );
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user