Skip to content

Commit

Permalink
Merge pull request #22 from VainlyStrain/master
Browse files Browse the repository at this point in the history
Bugfix: graphbuilder ERDDG edges
  • Loading branch information
SoheilKhodayari authored Nov 28, 2024
2 parents c99524a + 8da3ce1 commit 6c46e09
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions engine/lib/jaw/graphbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1814,8 +1814,8 @@ GraphBuilder.prototype.getInterProceduralModelNodesAndEdges = async function(sem
relationType: eventName,
args: 'register_listener_on___' + calleeVariable+ '___' + calleeVariableId /* e.g., window.onerror = function(e){...} */
};
appendNode(n0);
iterativeOutput && appendNodeDisk(n0);
appendEdge(n0);
iterativeOutput && appendEdgeDisk(n0);
}
}

Expand All @@ -1841,8 +1841,8 @@ GraphBuilder.prototype.getInterProceduralModelNodesAndEdges = async function(sem
relationType: eventName,
args: 'dispatch_event_on___' + calleeVariable+ '___' + calleeVariableId /* e.g., button.dispatchEvent('click') */
};
appendNode(n1);
iterativeOutput && appendNodeDisk(n0);
appendEdge(n1);
iterativeOutput && appendEdgeDisk(n1);

});
}
Expand All @@ -1867,8 +1867,8 @@ GraphBuilder.prototype.getInterProceduralModelNodesAndEdges = async function(sem
relationType: eventName,
args: 'dispatch_event_on___' + calleeVariable+ '___' + calleeVariableId /* e.g., button.dispatchEvent('click') */
};
appendNode(n2);
iterativeOutput && appendNodeDisk(n1)
appendEdge(n2);
iterativeOutput && appendEdgeDisk(n2)

})
}// end if key.startsWith;
Expand Down Expand Up @@ -1903,8 +1903,8 @@ GraphBuilder.prototype.getInterProceduralModelNodesAndEdges = async function(sem
relationType: eventName,
args: 'dispatch_event_on___' + calleeVariable+ '___' + calleeVariableId /* e.g., button.click(), xhrInstance.open() */
};
appendNode(n3);
iterativeOutput && appendNodeDisk(n2);
appendEdge(n3);
iterativeOutput && appendEdgeDisk(n3);
});
}

Expand Down

0 comments on commit 6c46e09

Please sign in to comment.