override fun run()

in intellij/src/main/kotlin/motif/intellij/GraphManager.kt [68:79]


              override fun run(indicator: ProgressIndicator) {
                ApplicationManager.getApplication().runReadAction {
                  val graph = graphFactory.compute()
                  val state =
                      if (graph.errors.isEmpty()) {
                        GraphState.Valid(project, graph)
                      } else {
                        GraphState.Error(graph)
                      }
                  setGraphState(state)
                }
              }