This is simpler and removes a silly restriction on edges being present.
Attach a file by drag & drop or click to upload