have two kind of menu (for point and for section),
these menu are specified in attributes point-menu and section-menu
(instead of attribute menu).
Value of attribute
name of elements
is sent in xml-attribute
new coordinates of node - in
identifier of node or serial number of node (counted from 1) - in
Last moved point (and object in it) or section lay over all others
Total displacement of point are sent after many motions.
<dot name=A id=N event=click os= ns= >
Assignment value no to property section-deformation results to drag-and-drop of only one point is maked impossible - two adjacent (neighbouring) sections go together, without changing angle between them.
Click by right key ("right" click) on a point means occurrence of menu, specified in attribute point-menu, in which user chooses new state (new style) for point. The following is sent
<dot name=A id=N event=menu_item os= ns= >
New coordinates of drag-and-dropped point are sent the following (it's comfortable to find new coordinates by diagnostics).
If point has got upon other point
(of this or other broken line, of this or other picture)
- further we shall name it as accepting point,
then browser sends additional sament
onnumare identifiers of accepting point. One point has got upon another, if an objects, located in them, are crossed. If an enclosed object covers several other enclosed objects after moving point, then browser chooses object, nearest to mouse cursor, as accepting object.
Click by right key ("right" click) on a section means occurrence of menu, specified in attribute section-menu, in which user chooses new state (new style) for section. The following is sent
<section name=A id=N event=menu_item os= ns= >
Section goes during drag-and-drop by parallel carrying. Form sends new coordinates of two points.
Two variants are possible, depending on value of property point-move of tag ld :
If two points are combined into one, then second point (on following inside tag line) receives coordinates (null, null) and form sends following XML text
Nodes and sections of a line change their style (as all other html-objects) under events click, double-click, event from menu), after that point and section of same unit can be written by two different styles, that is completely normal (if object, enclosed into node, has changed style, then node does not change style).