This is certainly not the intended purpose of mapedit, but I thought it would be fun to use some accumulated R knowledge to use mapedit and leaflet to edit an igraph layout. To run the code, make sure to run the edit_map and Shiny parts separately.
library(igraph)
library(leaflet)
library(mapedit)
karate <- graph.famous("Zachary")
igrf_layout <- layout.auto(karate)