the laplacian_matrix
method has a different dir
parameter default than in Graphs.jl
, making the doc confusing
#24
Labels
breaking
Fixing this would require a breaking change
The
laplacian_matrix
function forSimpleWeightedDigraph
usesdir=:out
as default for thedir
parameter. This contrasts with the definition inGraphs.jl
wheredir=:both
is the default for directed graphs.While I may agree that
dir=:out
could be a saner default, the problem is that the documentation of the function is only present in theGraphs
package and mentions that the default isdir=:both
for directed graphs. After looking at the doc at the REPL, the user may expect the default to bedir=:both
when it is in factdir=:out
forSimpleWeightedDigraph
.The text was updated successfully, but these errors were encountered: