-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,28 @@ | |
|
||
Live @ https://deno-visualizer.danopia.net | ||
|
||
## `/dependencies-of/` | ||
|
||
This tool shows a Graphviz rendering of high-level module dependencies. | ||
|
||
## CLI Usage | ||
|
||
```sh | ||
$ deno install -f -n deno-graph --allow-run=deno,dot https://raw.githubusercontent.com/cloudydeno/module-visualizer/main/feat/dependencies-of/cli.ts | ||
✅ Successfully installed deno-graph | ||
|
||
$ deno-graph https://deno.land/x/[email protected]/mod.ts | ||
digraph "imported modules" { | ||
rankdir="TB"; | ||
|
||
"https://deno.land/x/[email protected]"[shape="box",label="/x/[email protected]\l4 files, 9 KB\l",penwidth="1.6931471805599454",fontname="Arial",style="filled",tooltip="https://deno.land/x/[email protected]",fillcolor="lightskyblue",href="https://deno.land/x/[email protected]"]; | ||
"https://deno.land/x/[email protected]" -> "https://deno.land/[email protected]"; | ||
|
||
"https://deno.land/[email protected]"[shape="box",label="/[email protected]\l • /encoding\l2 files, 3 KB\l",penwidth="1",fontname="Arial",style="filled",tooltip="https://deno.land/[email protected]",fillcolor="lightgreen",href="https://deno.land/[email protected]"]; | ||
|
||
} | ||
``` | ||
|
||
## `/dependencies-of/` | ||
|
||
The implementation was initially represented by this shell pipeline: | ||
|
||
```sh | ||
|