const updateStructure = newState => ({ type: 'UPDATE_VERT_STRUCTURE', newState });

const highlightNode = nodeId => (dispatch, getState) => {
  setTimeout(() => dispatch(unHighlightNode(nodeId)), getState().async.delay / 1.1);
  dispatch({ type: 'HIGHLIGHT_NODE', nodeId });
};

const unHighlightNode = nodeId => ({ type: 'UNHIGHLIGHT_NODE', nodeId });

export default {
  updateStructure,
  highlightNode,
  unHighlightNode
};

@@ -347,16 +347,73 @@
 Id %7D);%0A%0A
+const resetTree = () =%3E (%7B type: 'RESET_TO_DEFAULT' %7D);%0A%0A
 export d
@@ -474,12 +474,25 @@
 ightNode
+,%0A  resetTree
 %0A%7D;%0A

Add action to reset tree