Skip to content

Commit 7c35684

Browse files
committed
Updated package.json, changelog and readme.md
1 parent a58dcd5 commit 7c35684

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## Version 1.3.0
4+
5+
- If nodes contain attributes that are defined as a reference property the node is now clickable and will open the referenced file in vscode.
6+
- Bugfix: Styling is now applied correctly for styles without a defined category
7+
38
## Version 1.2.1
49

510
- Bugfix: The GraphDirection attribute is now used correctly when rendering the graph.

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,21 @@ To visualize a dgml file i Visual Studio code you click on the file to open it,
1212

1313
When the dgml file has been rendered you can save the representation into a PNG file.
1414

15-
![DGML file info](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_save.gif)
15+
![DGML save to Png file](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_save.gif)
1616

1717
You can also choose to only save a selected part of the graph.
1818

1919
You do this by clicking the 'Save selection as png' button, then right-click and drag to select the area you want to save. The selection is saved when you let go of the mouse button.
2020

21-
![DGML file info](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_saveSelection.gif)
21+
![DGML save selection to Png file](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_saveSelection.gif)
22+
23+
In a DirectedGraph file you can [link a node to an external file](https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/modeling/customize-code-maps-by-editing-the-dgml-files?view=vs-2015#to-link-a-document-or-url-to-a-code-element"). DGMLViewer will determine if the file is accessible on the disk and if it is then the node is clickable and will open the file in vscode when the node is clicked.
24+
25+
![DGML click on a node](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_clickOnNodes.gif)
2226

2327
By default if the DirectedGraph element of the dgml file has a GraphDirection attribute, then this value is used to layout the graph. But by clicking the 'Change layout' checkbox you can change the layout of the graph. It will not change the dgml file itself, it will only change the rendering of the file.
2428

25-
![DGML file info](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_changeLayout.gif)
29+
![DGML change layout](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_changeLayout.gif)
2630

2731
## Show information about the DGML file
2832

@@ -51,4 +55,4 @@ See the full list of settings below the screenshot.
5155

5256
## Known Issues
5357

54-
The [Directed Graph Markup Language (dgml)](https://en.wikipedia.org/wiki/DGML) has the ability to specify conditional rendering of the graph. This is done by using the Style elements in the specification. In the current version of this DGMLViewer extension for Visual Studio code this conditional rendering has not been implemented. This extension only renders the colors of the nodes and links if they have categories specified or any of the styling attributes.
58+
The [Directed Graph Markup Language (dgml)](https://en.wikipedia.org/wiki/DGML) has the ability to specify conditional rendering of the graph. This is done by using the Style elements in the specification. In the current version of this DGMLViewer extension for Visual Studio code this conditional rendering is very limited. Only the 'HasCategory(...)' condition is evaluated.

images/dgmlViewer_clickOnNodes.gif

8.31 MB
Loading

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"displayName": "DGMLViewer",
55
"description": "DGMLViewer is viewer for dgml (Directed Graph Markup Language) files",
66
"icon": "icon.png",
7-
"version": "1.2.1",
7+
"version": "1.3.0",
88
"repository": "https://github.com/CoderAllan/vscode-dgmlviewer",
99
"engines": {
10-
"vscode": "^1.54.0"
10+
"vscode": "^1.55.0"
1111
},
1212
"categories": [
1313
"Other",
@@ -120,8 +120,8 @@
120120
"@types/mocha": "^8.2.2",
121121
"@types/node": "^14.14.37",
122122
"@types/vscode": "^1.55.0",
123-
"@typescript-eslint/parser": "^4.21.0",
124123
"@typescript-eslint/eslint-plugin": "^4.21.0",
124+
"@typescript-eslint/parser": "^4.21.0",
125125
"eslint": "^7.23.0",
126126
"glob": "^7.1.6",
127127
"mocha": "^8.3.2",

0 commit comments

Comments
 (0)