Fully initialized all fields in an edge before linking to avoid segfaults.