- {visibleNodes.length > 0 ? (
-
- ) : (
-
-
- To show the nodes in the diagram, check them in the list.
-
-
- )}
- {!openSideBar && (
-
- )}
-
- {!openLegend && isMobile && (
-
- )}
- {visibleNodes.length > 0 && !isMobile && (
-
- {Object.values(nodeTypes).map((resource, index) => (
-
- ))}
- {editor && (
-
+ {" "}
+
+ {loadingResponse ? (
+
+
+
+ ) : (
+
+
+
+ )}
+
+ {/*
+ {loadingResponse ? (
+ {
- setIsModalAddTypeOpen(true);
+ display: "flex",
+ justifyContent: "center"
}}
+ >
+
+
+ ) : (
+
-
+
)}
- {[
- { text: "Known Positive Effect", color: "#56E41B" },
- { text: "Hypothetical Positive Effect", color: "#1BBAE4" },
- { text: "Known Negative Effect", color: "#A91BE4" },
- { text: "Hypothetical Negative Effect", color: "#E4451B" }
- ].map((resource, index) => (
-
-
-
- {resource.text}
-
-
- ))}
-
- )}
-
-