[Olena-patches] 1824: Fix the interface of some graph-related piters.