hideAllHighLights method

dynamic hideAllHighLights()

Implementation

hideAllHighLights() {
  canvasWriter.model.hideAllLinkJoints();
  canvasReader.model.getAllComponents().values.forEach(
    (component) {
      if (component.type != "port") {
        if (component.data.isHighlightVisible) {
          component.data.hideHighlight();
          canvasWriter.model.updateComponent(component.id);
        }
      }
    },
  );
}