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