graph API: fix a bug in the rendering of octopus merges