ControlCore-Project / concore-editor

The concore Editor
http://controlcore-project.github.io/concore-editor
BSD 3-Clause "New" or "Revised" License
9 stars 19 forks source link

Creating a new edge fails, except when the edge label has some numbers #177

Closed pradeeban closed 1 year ago

pradeeban commented 1 year ago

It keeps failing with the message, "2 edges cannot have same prefixes if they are number" when the new edge is a string, such as "CUT." This must be fixed.

(Edges such as "11", "0CAT," and "P2342" are all working because they have a number.)

To reproduce, open sample2knobplotdhg.graphml in concore/demo and create an edge from CZ to XZ and name it a valid string name. It still throws the same error, complaining that "2 edges cannot have same prefixes if they are number"

Tested in concore-editor deployments of CONTROL-CORE project as well as rahuljagwani. Please have a look at it urgently since this breaks the core functionality.

@rahuljagwani

pradeeban commented 1 year ago

Fixed.