Restored Graph.attach/detach/isDetached + restored old CFG but deprecated