Skip to content

Commit 178a95b

Browse files
committed
Updated Readme and Change log files.
1 parent 998bad1 commit 178a95b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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 2.1.0
4+
5+
- It is now possible to save the graph as Png, Jpg, Svg and as Json.
6+
- Added Refresh button to re-layout the graph when the chosen layout is either Cose or Rendom.
7+
38
## Version 2.0.0
49

510
- The core Javascript library used for rendering the directed graph has been changed from Vis.js to Cytoscape.js. The change was done because Cytoscape.js can render nested nodes which Vis.js was not capable of.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This extension for Visual Studio Code can be used to render a *.dgml file into a
1010

1111
To visualize a dgml file in Visual Studio Code you click on the file to open it, then you select the "DGMLViewer: Render the dgml graph" command from the command pallette to render the graph.
1212

13-
When the dgml file has been rendered you can save the representation as a PNG file.
13+
When the dgml file has been rendered you can save the representation as a Png, Jpg or Svg image file or save the internal Cytoscape json object if you need to extract data from the graph.
1414

15-
![DGML save to Png file](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_save.gif)
15+
![DGML save graph to a Png, Jpg, Svg or Json file](https://github.com/CoderAllan/vscode-dgmlviewer/raw/main/images/dgmlViewer_save.gif)
1616

1717
You can also choose to only save part of the graph. 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.
1818

0 commit comments

Comments
 (0)