-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 makes subgraph names unique in generated dot
this fixes the problem that dot complains about > 1 cluster having the same name when two or more folders in different spots in the dependency graph have the same name
- Loading branch information
Showing
13 changed files
with
70 additions
and
23 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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
digraph "dependency-cruiser output"{ | ||
ordering=out | ||
rankdir=LR | ||
splines=true | ||
overlap=false | ||
nodesep=0.16 | ||
fontname="Helvetica" | ||
fontsize="9" | ||
compound=true | ||
node [shape=box style="rounded, filled" fillcolor="#ffffcc" height=0.2 fontname=Helvetica fontsize=9] | ||
edge [color=black arrowhead=normal fontname="Helvetica" fontsize="9"] | ||
|
||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub" {label="nested-sub" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/nested-sub/sub/index.js" [label="index.js"] } } } } } | ||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub" {label="nested-sub" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/nested-sub/sub/sub.js" [label="sub.js"] } } } } } | ||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub" {label="nested-sub" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/nested-sub/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/nested-sub/sub/wakka.js" [label="wakka.js"] } } } } } | ||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/sub/index.js" [label="index.js"] } } } } | ||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/sub/more-in-sub.js" [label="more-in-sub.js"] } } } } | ||
subgraph "cluster_/test" {label="test" style="rounded" subgraph "cluster_/test/fixtures" {label="fixtures" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs" {label="duplicate-subs" style="rounded" subgraph "cluster_/test/fixtures/duplicate-subs/sub" {label="sub" style="rounded" "test/fixtures/duplicate-subs/sub/most-in-sub.js" [label="most-in-sub.js"] } } } } | ||
|
||
"test/fixtures/duplicate-subs/nested-sub/sub/index.js" -> "test/fixtures/duplicate-subs/nested-sub/sub/sub.js" | ||
"test/fixtures/duplicate-subs/nested-sub/sub/index.js" -> "test/fixtures/duplicate-subs/nested-sub/sub/wakka.js" | ||
"test/fixtures/duplicate-subs/nested-sub/sub/sub.js" -> "test/fixtures/duplicate-subs/nested-sub/sub/wakka.js" | ||
"test/fixtures/duplicate-subs/sub/index.js" -> "test/fixtures/duplicate-subs/nested-sub/sub/index.js" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
const wakka = require('./wakka'); | ||
const sub = require('./sub'); | ||
|
||
console.log('yo from nested-sub/sub'); |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
let sub = require('./wakka'); |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
exports.yo = () => 'nothing, really'; |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const sub = require('../nested-sub/sub'); | ||
console.log('yo from sub'); |
Empty file.
Empty file.
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