ryojerryyu_obsidian-jessiecode/src/types.ts
2025-10-09 01:53:36 +08:00

18 lines
355 B
TypeScript

import { Board, View3D, BoardAttributes } from 'jsxgraph';
export type GraphInfo = Partial<
BoardAttributes & {
height: number;
width: number;
}
>;
export interface GraphBuilder {
parseCodeBlock(source: string): void;
createBoard(graphDiv: HTMLElement): Graph;
}
export interface Graph {
board: Board;
view3d: View3D | undefined;
}