Commit Graph

5 Commits

Author SHA1 Message Date
Kartik K. Agaram 770ab80074 keep edges short
This had some dead ends. I spent some time trying to use the
parametric equation of a line. But the parameter is not comparable
across two lines.
2023-04-18 22:16:49 -07:00
Kartik K. Agaram 880ecc0efd switch Nodes from array to table
We need keys to be fixed as we add/delete nodes because we're going to
start recording them next inside Nodes to encode edges.

Since there isn't a clear name for nodes in this app, I came up with a
way to autogenerate keys.
2023-04-18 17:52:19 -07:00
Kartik K. Agaram bcb16bbd8d mock up affordances for moving and resizing
A node will take up as much vertical space as it needs given its text.
But we can resize its width.
2023-04-17 23:22:01 -07:00
Kartik K. Agaram 34e180836d render a single node
Give it a border, rounded corners, 10px padding on all sides.
2023-04-17 22:19:28 -07:00
Kartik K. Agaram 30f61face5 baby steps 2023-04-17 21:17:27 -07:00