pgmpy / pgmpy_viz

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

Few minor issues #30

Open ankurankan opened 10 years ago

ankurankan commented 10 years ago
  1. In adding nodes modes, if we try to move a node, a new node is created. This should not happen.
  2. Visually showing which node is currently selected.
  3. Dynamic page size. Current it is fixed.
  4. Error message when the user tries to create a self loop or when name conflict.
e55k4y commented 10 years ago

@gargshashank5 what do you say about no.1 for no. 2 when should this change be shown? please elaborate no. 3

ankurankan commented 10 years ago

For no 2 I was thinking of something that was earlier implemented by Pranjal. Whenever we click on a node it's color should change showing that it has been selected.

For no 3 currently the div size of cy is fixed. It should be dynamic so that higher resolution or bigger monitors can also use the whole screen area. You can see the code here: https://github.com/pgmpy/pgmpy_viz/blob/master/main/templates/index.html#L18

e55k4y commented 10 years ago

no 2 has been implemented. Please check the last commit.