Implement the EditableGraph protocol for rooted trees