graph: introduce KindHelper