Test purpose
- Define a responsive canvas element with a fixed-dimensions base Cell
- Implement line drawing functionality using Polyline entitys
- Add in user interaction buttons to implement undo/redo, and clear canvas, functionality.
Touch test: canvas should be resizable. Known issue: new lines may not start, or may connect to previous line ends - the test needs to be reconsidered and rewritten to make UX more robust.
Annotated code