reversed node-kind composition to simplify graph lookup