MapGraph templated edges creation