Patent attributes
The invention is devised to facilitate the editing of a graphic displayed on a screen. An editing device includes: an edit object display unit for displaying on a screen a graphic to be edited which includes at least one line graphic defined as a line segment extending from a first end point to a second end point; an edit graphic display unit for displaying on the screen an edit graphic for editing the line graphic; an edit graphic moving unit for moving the edit graphic on the screen in accordance with a user operation; an edit graphic moving unit for moving the edit graphic on the screen in accordance with a user operation; an edit object dividing unit for dividing, in response that the edit graphic contacts a line graphic, the line graphic by generating an end point at a contact point; and an edit object moving unit for moving, in response that the edit graphic is further moved in a direction of a line graphic which contacts the edit graphic, an end point of the line graphic, which contacts the edit graphic in accordance with the movement of the edit graphic.