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