diff --git a/heo-core/src/main/java/dev/heowc/heo/core/analysis/domain/DomainGraph.java b/heo-core/src/main/java/dev/heowc/heo/core/analysis/domain/DomainGraph.java index d6d9185..199ef08 100644 --- a/heo-core/src/main/java/dev/heowc/heo/core/analysis/domain/DomainGraph.java +++ b/heo-core/src/main/java/dev/heowc/heo/core/analysis/domain/DomainGraph.java @@ -16,7 +16,7 @@ public void addVertex(Map> packages) { public void addEdge(Map> packages) { packages.forEach((target, sources) -> { - sources.forEach(source -> addEdge(target, source, new DomainEdge(target, source))); + sources.forEach(source -> addEdge(source, target, new DomainEdge(target, source))); }); } }