this commit experiments with node and edge rendering.
For these I'm trying a Page element with a list of Node and Edge
primitives.
Node primitives are textviews.
Edges are a new, custom primitive.
the edge only draws a line from 0,0 to 5,5 right now but shows that I'm
able to implement a Draw that just writes arbitrary characters to the
screen.
I need to do several things, some of which suggest that i'm abusing the
Pages primitive in terrible ways:
- Add and remove nodes as needed. Pages has no Clear() or Reset(). I
will have to manually keep track of the page -> node relationship
- Give nodes and edges page names that are unique. I won't really be
using these and I must avoid collisions.
- Relate edges to nodes somehow so they can be drawn properly
- Ensure that all edges are drawn before all nodes
and a lot more
A tremendous amount of work is ahead but I at least have some basic
stuff proven to be workable.