Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
columbia-facts committed Apr 28, 2024
1 parent 0256ffc commit c6c3dbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/nodes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const grid_width = 100;
const grid_height = 100;
const grid_gap = 5;

interface NodeData {
label: string;
}

// first groups of nodes then their nodes then nodes
export const initialNodes = [
// 👯‍♀️ groups
Expand Down Expand Up @@ -165,7 +169,7 @@ export const initialNodes = [
data: { label: 'NYPD' },
position: { x: 4 * grid_width + 2 * grid_gap, y: 5 * grid_height + 2 * grid_gap },
},
] satisfies Node<any, string>[];
] satisfies Node<NodeData, string>[];

export const nodeTypes = {
node: SimpleNode,
Expand Down

0 comments on commit c6c3dbc

Please sign in to comment.