You've already forked obsidian-visualiser
Revert "Update packages. Add quadtree (still need update for ID handling instead of index)."
This reverts commit 685bd47fc4.
This commit is contained in:
6
types/canvas.d.ts
vendored
6
types/canvas.d.ts
vendored
@@ -1,5 +1,3 @@
|
||||
import type { Direction } from "~/shared/canvas.util";
|
||||
|
||||
export interface CanvasContent {
|
||||
nodes?: CanvasNode[];
|
||||
edges?: CanvasEdge[];
|
||||
@@ -24,9 +22,9 @@ export interface CanvasNode {
|
||||
export interface CanvasEdge {
|
||||
id: string;
|
||||
fromNode: string;
|
||||
fromSide: Direction;
|
||||
fromSide: 'bottom' | 'top' | 'left' | 'right';
|
||||
toNode: string;
|
||||
toSide: Direction;
|
||||
toSide: 'bottom' | 'top' | 'left' | 'right';
|
||||
color?: CanvasColor;
|
||||
label?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user