mirror of
https://github.com/ryojerryyu/obsidian-jessiecode.git
synced 2026-07-22 06:43:22 +00:00
18 lines
355 B
TypeScript
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;
|
|
}
|