Skip to content

Commit 07fc29b

Browse files
committed
Removed componentHierarchyDgml command.
1 parent f2787f6 commit 07fc29b

File tree

6 files changed

+0
-233
lines changed

6 files changed

+0
-233
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Find it on the [Visual Studio Code marketplace](https://marketplace.visualstudio
1313
* Show the module hierarchy
1414
* Show the dependency injection graph
1515
* Show the component hierarchy
16-
* Generate DGML graph of project component hierarchy
1716
* Summarizes all the Angular modules
1817
* Generate a markdown file with the component hierarchy in Mermaid format.
1918
* Show the directory structure of the project
@@ -59,14 +58,6 @@ By default the component hierarchy graph is rendered using a random layout. You
5958

6059
![Show component hierarchy](https://github.com/CoderAllan/vscode-angulartools/raw/main/images/ShowComponentHierarchy3.gif)
6160

62-
### Generate DGML graph of project component hierarchy [#](#generate-dgml-graph- 'Generate DGML graph of project component hierarchy')
63-
64-
The Generate Directed Graph Markup Language ([dgml](https://docs.microsoft.com/en-us/visualstudio/modeling/directed-graph-markup-language-dgml-reference)) file command analyzes the all angular components and generates a graph of the relationship between the components.
65-
66-
The dgml file can be viewed and modified using Microsoft Visual Studio. I have also created an extension for Visual Studio Code for viewing dgml files. The [DGML Viewer extension](https://github.com/CoderAllan/vscode-dgmlviewer) can be found on the [Visual Studio code marketplace](https://marketplace.visualstudio.com/items?itemName=coderAllan.vscode-dgmlviewer).
67-
68-
![Generate DGML graph](https://github.com/CoderAllan/vscode-angulartools/raw/main/images/GenerateDgml.gif)
69-
7061
### Generate a markdown file with the component hierarchy in Mermaid format [#](#component-hierarchy-markdown- 'Component hierarchy in Mermaid format')
7162

7263
This command will generate the component hierarchy in markdown format using [Mermaid notation](https://mermaid-js.github.io/mermaid/#/).

images/GenerateDgml.gif

-1.31 MB
Binary file not shown.

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"tools"
2727
],
2828
"activationEvents": [
29-
"onCommand:angulartools.componentHierarchyDgml",
3029
"onCommand:angulartools.listAllImports",
3130
"onCommand:angulartools.projectDirectoryStructure",
3231
"onCommand:angulartools.modulesToMarkdown",
@@ -55,10 +54,6 @@
5554
"command": "angulartools.packageJsonToMarkdown",
5655
"title": "AngularTools: Generate a Markdown file from package.json files in the workspace."
5756
},
58-
{
59-
"command": "angulartools.componentHierarchyDgml",
60-
"title": "AngularTools: Generate a Directed Graph file (dgml) showing the components in the current project."
61-
},
6257
{
6358
"command": "angulartools.showComponentHierarchy",
6459
"title": "AngularTools: Show a graph representing the component hierarchy."

src/commands/componentHierarchyDgml.ts

Lines changed: 0 additions & 211 deletions
This file was deleted.

src/commands/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export * from './commandBase';
2-
export * from './componentHierarchyDgml';
32
export * from './listAllImports';
43
export * from './modulesToMarkdown';
54
export * from './packageJsonToMarkdown';

src/extension.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import * as vscode from 'vscode';
44

55
import {
6-
ComponentHierarchyDgml,
76
ComponentHierarchyMarkdown,
87
ListAllImports,
98
ModulesToMarkdown,
@@ -42,12 +41,6 @@ export function activate(context: vscode.ExtensionContext) {
4241
});
4342
context.subscriptions.push(packageJsonToMarkdownDisposable);
4443

45-
const componentHierarchyDgmlDisposable = vscode.commands.registerCommand(`${cmdPrefix}.${ComponentHierarchyDgml.commandName}`, () => {
46-
const command = new ComponentHierarchyDgml();
47-
command.execute();
48-
});
49-
context.subscriptions.push(componentHierarchyDgmlDisposable);
50-
5144
const componentHierarchyMarkdownDisposable = vscode.commands.registerCommand(`${cmdPrefix}.${ComponentHierarchyMarkdown.commandName}`, () => {
5245
const command = new ComponentHierarchyMarkdown();
5346
command.execute();

0 commit comments

Comments
 (0)