Nodes selection store, linking and unlinking nodes

This commit is contained in:
2025-11-11 13:01:32 +01:00
parent cd4963a4bd
commit 4092b12aef
6 changed files with 126 additions and 17 deletions

View File

@@ -2,7 +2,7 @@ import { Dropdown, type MenuProps } from "antd";
import { defaultGraph, graphContext, type EdgeModel, type NodeContext } from "./Graph";
import { useContext } from "react";
import { cloneDeep } from "lodash";
import { useGraphsStore } from "./GraphsCollection";
import { useGraphsStore } from "../stores/GraphsStore";
const items: MenuProps['items'] = [
{