@matdata/yasgui-graph-plugin 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -59
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,59 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// Project: https://github.com/Matdata-eu/yasgui-graph-plugin
|
|
3
|
-
|
|
4
|
-
declare module '@matdata/yasgui-graph-plugin' {
|
|
5
|
-
import type { Plugin, DownloadInfo } from '@zazuko/yasr/build/ts/plugins';
|
|
6
|
-
import type Yasr from '@zazuko/yasr';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs
|
|
10
|
-
*/
|
|
11
|
-
export default class GraphPlugin implements Plugin<any> {
|
|
12
|
-
/**
|
|
13
|
-
* Plugin priority (higher = shown first in tabs)
|
|
14
|
-
*/
|
|
15
|
-
priority: number;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Plugin label for tab display
|
|
19
|
-
*/
|
|
20
|
-
label?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Reference to help documentation
|
|
24
|
-
*/
|
|
25
|
-
helpReference?: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Check if plugin can handle the current results
|
|
29
|
-
* @returns True if results are from CONSTRUCT or DESCRIBE query
|
|
30
|
-
*/
|
|
31
|
-
canHandleResults(): boolean;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Render the graph visualization
|
|
35
|
-
*/
|
|
36
|
-
draw(persistentConfig: any, runtimeConfig?: any): Promise<void> | void;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get icon element for plugin tab
|
|
40
|
-
*/
|
|
41
|
-
getIcon(): Element | undefined;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Download the current visualization as PNG
|
|
45
|
-
*/
|
|
46
|
-
download(filename?: string): DownloadInfo | undefined;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Cleanup resources when plugin is destroyed
|
|
50
|
-
*/
|
|
51
|
-
destroy?(): void;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Get vis-network configuration options
|
|
55
|
-
* @returns Network options for vis-network
|
|
56
|
-
*/
|
|
57
|
-
getNetworkOptions(): any;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
declare module '@matdata/yasgui-graph-plugin';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matdata/yasgui-graph-plugin",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"description": "YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs",
|
|
6
6
|
"main": "dist/yasgui-graph-plugin.cjs.js",
|
|
7
7
|
"module": "dist/yasgui-graph-plugin.esm.js",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
],
|
|
33
33
|
"author": "Matdata",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
|
-
"type": "commonjs",
|
|
36
35
|
"bugs": {
|
|
37
36
|
"url": "https://github.com/Matdata-eu/yasgui-graph-plugin/issues"
|
|
38
37
|
},
|