WmHHooper / visigraph

Automatically exported from code.google.com/p/visigraph
0 stars 0 forks source link

Cut/copy/paste no longer work after vertex id fixes #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
  1. Create a simple graph.
  2. Copy and paste a region with edges.
  3. Save and close the graph.
  4. Reopen the graph file.
  5. Notice how all the edges of the pasted region are connected to the original copied vertices.

Basically, when a union is performed, vertices need to be assigned new ids.  
The problem now lies in the serialization of the vertices, as the newly pasted 
vertices have the same ids as the copied ones.

Original issue reported on code.google.com by 0x24a53...@gmail.com on 16 Aug 2010 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by 0x24a53...@gmail.com on 16 Aug 2010 at 7:15