pgmpy / pgmpy_viz

A web based GUI for pgmpy
MIT License
13 stars 20 forks source link

Edge from a node to itself #13

Closed gargshashank5 closed 10 years ago

gargshashank5 commented 10 years ago

The Bayesian graphs are DAGs so we don't want edges from a node to itself. Add a condition to prevent user from doing the above. Before adding the edge write a condition check if(source != target) then proceed to drawing edge.

ankurankan commented 10 years ago

@gargshashank5 @pramttl @omniscius @techgourav @shubham123goyal Can anyone of you take care of this? I think some minor change would fix this.

e55k4y commented 10 years ago

I have developed the add edges feature. This bug has been taken care of.