@@ -50,65 +50,7 @@ const builds = [
5050] ;
5151
5252// TypeScript declaration content
53- const typeDeclaration = `// Type definitions for @matdata/yasgui-graph-plugin
54- // Project: https://github.com/Matdata-eu/yasgui-graph-plugin
55-
56- declare module '@matdata/yasgui-graph-plugin' {
57- import type { Plugin, DownloadInfo } from '@zazuko/yasr/build/ts/plugins';
58- import type Yasr from '@zazuko/yasr';
59-
60- /**
61- * YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs
62- */
63- export default class GraphPlugin implements Plugin<any> {
64- /**
65- * Plugin priority (higher = shown first in tabs)
66- */
67- priority: number;
68-
69- /**
70- * Plugin label for tab display
71- */
72- label?: string;
73-
74- /**
75- * Reference to help documentation
76- */
77- helpReference?: string;
78-
79- /**
80- * Check if plugin can handle the current results
81- * @returns True if results are from CONSTRUCT or DESCRIBE query
82- */
83- canHandleResults(): boolean;
84-
85- /**
86- * Render the graph visualization
87- */
88- draw(persistentConfig: any, runtimeConfig?: any): Promise<void> | void;
89-
90- /**
91- * Get icon element for plugin tab
92- */
93- getIcon(): Element | undefined;
94-
95- /**
96- * Download the current visualization as PNG
97- */
98- download(filename?: string): DownloadInfo | undefined;
99-
100- /**
101- * Cleanup resources when plugin is destroyed
102- */
103- destroy?(): void;
104-
105- /**
106- * Get vis-network configuration options
107- * @returns Network options for vis-network
108- */
109- getNetworkOptions(): any;
110- }
111- }
53+ const typeDeclaration = `declare module '@matdata/yasgui-graph-plugin';
11254` ;
11355
11456// Build all formats
0 commit comments