There us method to create edges directly in edge collection (version 2.5.0). Can only use corresponding graph method.