Delete Nodes and TreeData Improvements

Today I commited the changes that allow the deletion of nodes that are referenced by other nodes. Until now, it was not possible to delete a line that was in a constraint, for example. The main improvements are in the ShapeGraph, which I’ve extracted into another class that can also be called from the Document class, and the deletion algorithm, which uses the auto-updating reference and referring lists to construct the list of related nodes that should be deleted when the user deletes one node.
As I added these changes, I also added unit tests for the new ShapeGraph class and added several tests for the delete node functionality.

The next issue I will be working on is improving the Hinter for cases where we have more than one solution.

Status report

Leave a Reply


The best Android Market