-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
155 lines (155 loc) · 5.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "vscode-dgmlviewer",
"publisher": "coderAllan",
"displayName": "DGMLViewer",
"description": "DGMLViewer is viewer for dgml (Directed Graph Markup Language) files",
"icon": "icon.png",
"version": "2.2.7",
"repository": "https://github.com/CoderAllan/vscode-dgmlviewer",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"dgml",
"graph",
"visualization"
],
"activationEvents": [
"onCommand:vscode-dgmlviewer.dgmlViewer",
"onCommand:vscode-dgmlviewer.dgmlFileInfo",
"onCommand:vscode-dgmlviewer.dgmlTest"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-dgmlviewer.dgmlViewer",
"title": "DGMLViewer: Render the dgml graph"
},
{
"command": "vscode-dgmlviewer.dgmlFileInfo",
"title": "DGMLViewer: Show file info"
},
{
"command": "vscode-dgmlviewer.dgmlTest",
"title": "DGMLViewer: Testing"
}
],
"configuration": {
"title": "DGMLViewer",
"properties": {
"dgmlViewer.defaultNodeBackgroundColor": {
"type": "string",
"default": "#D2E5FF",
"description": "The color of the nodes of the directed graph. The string should be in rgb format."
},
"dgmlViewer.edgeArrowToType": {
"type": "string",
"default": "triangle",
"enum": [
"chevron",
"circle-triangle",
"circle",
"diamond",
"square",
"tee",
"triangle-backcurve",
"triangle-cross",
"triangle-tee",
"triangle",
"vee",
"none"
],
"description": "The default ending of the edges."
},
"dgmlViewer.nodeShape": {
"type": "string",
"default": "round-rectangle",
"enum": [
"barrel",
"bottom-round-rectangle",
"concave-hexagon",
"cut-rectangle",
"diamond",
"ellipse",
"heptagon",
"hexagon",
"octagon",
"pentagon",
"rectangle",
"rhomboid",
"round-diamond",
"round-heptagon",
"round-hexagon",
"round-octagon",
"round-pentagon",
"round-rectangle",
"round-tag",
"round-triangle",
"star",
"tag",
"triangle",
"vee"
],
"description": "The shape of the nodes in the directed graph. Notice that 'ellipse','circle','database','box' and 'text' have the label inside the shape, the rest have the label outside the shape."
},
"dgmlViewer.graphSelectionGuidelineColor": {
"type": "string",
"default": "blue",
"description": "The color of the guidelines used when selecting part of a directed graph. The string should be in rgba format or standard css color names."
},
"dgmlViewer.graphSelectionGuidelineWidth": {
"type": "number",
"default": "1",
"description": "The width of the guide lines shown when selecting part of a directed graph"
},
"dgmlViewer.graphSelectionColor": {
"type": "string",
"default": "red",
"description": "The color of the selection rectangle used when selecting part of a directed graph. The string should be in rgba format or standard css color names."
},
"dgmlViewer.graphSelectionWidth": {
"type": "number",
"default": "2",
"description": "The width of the selection rectangle shown when selecting part of a directed graph"
},
"dgmlViewer.saveAsFilename": {
"type": "string",
"default": "DirectedGraph",
"description": "The default name used when saving the directed graph as a Png, Jpg, Svg or Json file."
},
"dgmlViewer.showPopupsOverNodesAndLinks": {
"type": "boolean",
"default": true,
"description": "When the setting is set to true a popup with various information from node or edge will be shown when the mouse pointer hovers over nodes and edges."
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"watch": "tsc -p ./ && tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/node": "^22.13.1",
"@types/vscode": "^1.97.0",
"ts-loader": "^9.5.2",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"js-base64": "^3.7.7",
"xml-parser": "^1.2.1"
}
}