Improved Graph Architecture

Fixed a design flaw where if you removed edges, things would break
because of the way clones were happening.