state of edge direction and weight is now remembered, rather than polling the checkboxes controlling updates to state.