The cut tool is working fine for splitting polylines as we needed, but the problem is with the points that are already being snapped to the target polyline to be splitted. Some points below will make the problem clearer to be understood :
1.) This picture shows the original condition of the connection. Two poles connected (snapped) with a wire.
2.) The next step is, We use the cutting tool provided inside esri/dijit/editing/Editor widget to cut the wire, anywhere in the middle. This will split the wire into two objects.
3.) Aand.. here's the problematic result, The left pole suddenly dragged to the splitting point :
After some checking, it seems like the left pole which previously snapped with the old wire still refer to the old wire's OBJECTID or something for the snapping, so this problem appears. From the second picture above, the right segment of the wire holds the same OBJECTID as the uncut wire (first picture), the left segment is the newly created object after cutting with new OBJECTID.
So, Our objective is to split the wire into two parts without affecting other objects that are snapped with the targeted wire to be cut. Actually we need something that behaves like the ArcMap splitting tool, but inside the Arcgis JS API..
Is there any workaround regarding this problem?