Skip to content

Commit

Permalink
Merge pull request #22 from CarnegieLearningWeb/dev
Browse files Browse the repository at this point in the history
quick bug fixes
  • Loading branch information
emoltz authored Jun 27, 2024
2 parents ffb5c35 + 433c3f1 commit a103f20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/DirectedGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import ToggleTool from "@/components/ToggleTool";

// TODO make sure the node info is changed

type TODO = any
interface DirectedGraphProps {
graphData: GraphData;
}
Expand All @@ -28,7 +27,6 @@ export default function DirectedGraph({ graphData }: DirectedGraphProps) {
const [edgesThreshold, setEdgesThreshold] = useState<number>((graphData.maxEdgeCount ?? 100) * 0.1);
const [previousEdgesThreshold, setPreviousEdgesThreshold] = useState<number>(((graphData.maxEdgeCount ?? 100) * 0.1));
const initialContextMenuControls: ContextMenuControls = { visible: false, x: 0, y: 0, node: null };
const [arrowSize, setArrowSize] = useState(30);

const [contextMenu, setContextMenu] = useState<ContextMenuControls>(initialContextMenuControls);

Expand Down

0 comments on commit a103f20

Please sign in to comment.