setSelectedEdge method

void setSelectedEdge(
  1. EdgeState edge
)

Implementation

void setSelectedEdge(EdgeState edge) {
  state.selectedEntity?.unselect();
  state.selectedEntity = edge;
  state.selectedEdge = edge;
  state.selectedEntity.select();
}