Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edges not defined? #28

Closed
gabrielchuang opened this issue Aug 26, 2022 · 1 comment
Closed

edges not defined? #28

gabrielchuang opened this issue Aug 26, 2022 · 1 comment

Comments

@gabrielchuang
Copy link

gabrielchuang commented Aug 26, 2022

julia> using SimpleWeightedGraphs
julia> g = SimpleWeightedGraph([1,2,1], [2,1,2], [1,1,1]; combine = +)
julia> edges(g)
ERROR: UndefVarError: edges not defined
Stacktrace:
 [1] top-level scope
   @ REPL[3]:1

I'm not sure if I'm doing something wrong (edges seems to be implemented in simpleweightedgraph.jl) but I can't seem to iterate through the edges of a graph.

@gabrielchuang gabrielchuang changed the title edges is not implemented edges not defined? Aug 26, 2022
@gabrielchuang
Copy link
Author

Never mind -- I'm being silly with packages (should be SimpleWeightedGraph.edges(...))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant