Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/@antv/x6-plugin-export/lib/api.d.ts
T

11 lines
619 B
TypeScript
Raw Normal View History

2026-09-10 15:40:10 +08:00
import { Export } from './index';
declare module '@antv/x6/lib/graph/graph' {
interface Graph {
toSVG: (callback: Export.ToSVGCallback, options?: Export.ToSVGOptions) => void;
toPNG: (callback: Export.ToSVGCallback, options?: Export.ToImageOptions) => void;
toJPEG: (callback: Export.ToSVGCallback, options?: Export.ToImageOptions) => void;
exportPNG: (fileName?: string, options?: Export.ToImageOptions) => void;
exportJPEG: (fileName?: string, options?: Export.ToImageOptions) => void;
exportSVG: (fileName?: string, options?: Export.ToSVGOptions) => void;
}
}