Added loading/saving edges by dereferencing pointer in SWIG.