At the moment, `inneighbors` allocates for `SimpleWeightedDiGraph` (see https://github.com/JuliaGraphs/SimpleWeightedGraphs.jl/pull/14#discussion_r1006630039)
At the moment,
inneighborsallocates forSimpleWeightedDiGraph(see #14 (comment))