No, the problem is that the root graph should be immutable. By extending it you're mutating it. That's no good.