You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems strange to REQUIRE LightGraphs and Graphs when in all likelihood people will want to use this great package for either one or the other. Could I recommend something along the lines of what we do in LightGraphs for conditional dependencies?
try
using LightGraphs
nothing
catch
end
then you can have
if isdefined(:LightGraphs)
...
for the LG specific code, repeating for Graphs.jl as necessary.
The text was updated successfully, but these errors were encountered:
It seems strange to REQUIRE LightGraphs and Graphs when in all likelihood people will want to use this great package for either one or the other. Could I recommend something along the lines of what we do in LightGraphs for conditional dependencies?
then you can have
for the LG specific code, repeating for Graphs.jl as necessary.
The text was updated successfully, but these errors were encountered: