Home | Lehre | Videos | Texte | Vorträge | Software | Person | Impressum, Datenschutzerklärung | Blog RSS

Curves

Many types of diagrams consist of boxes that are connected with curved lines. Write a software that produces a screen display like the one below. The user can drag each of the boxes with the mouse; a possible result of such an operation is shown in red in the diagram below. Where a connection line enters a rectangle, its tangent forms a right angle with the corresponding sides of the rectangle.

Apply thorough object-oriented design. Use the built-in curve-drawing functionality of .NET. The number of boxes and the way they are connected may be fixed in your software. If you aim at four points for this assignment, try to come up with a solution that also allows to create boxes and define their connections with the mouse.