
I spent some of the weekend tinkering with my node based calculator. Most of the time was spent re-factoring the code for performance improvements, but I did manage a few user interface tweaks:
- Relationships can be assigned with a colour. By default a random colour is assigned, but by double clicking the output box on a node, a new colour can be assigned.
- Relationships can be deleted. Double click on an input box to delete the relationships.
- Nodes now have separate input boxes, so input relationships are easier to create and view.
- Added a new node type - tangent. Adding new node types takes about five minutes, so I should add a whole suite of them soon.
- Adding and deleting nodes no longer re-renders to entire screen (d'oh!)
- Relationships are created on the mouse-up event on the input box rather than the mouse-over.
The calculator still defaults to drawing a circle and is available here.
Simon Gladman
View comments