Fix: Relationship was incorrect

This commit is contained in:
Richard Ramos 2018-03-23 11:39:42 -04:00
parent 58b5ea329e
commit 0326890abe
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class GraphGenerator {
let contractDependencies = Array.from(new Set(this.engine.contractsManager.contractDependencies[c]));
contractDependencies.forEach(function(d){
if(idMapping[c] !== undefined && idMapping[d] !== undefined){
relationshipString += `${idMapping[d]}->${idMapping[c]}[constraint=true, arrowtail=diamond, tooltip="${d} uses ${c}"]\n`;
relationshipString += `${idMapping[d]}->${idMapping[c]}[constraint=true, arrowtail=diamond, tooltip="${c} uses ${d}"]\n`;
}
});
}