pgmpy / pgmpy_viz

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

Selecting a node creates a new node #5

Closed ankurankan closed 10 years ago

ankurankan commented 10 years ago

You might have noticed that clicking on a node to select it is creating a new node there. Also I don't think a click for creating a node is a good idea. We should have some other way to create a node. Something like an option on the top of the page labelled "create node" clicking on which will create a new node. That would result in a better user interface. What do you think? @pramttl @gargshashank5 @snigam3112 @abinashpanda

abinashpanda commented 10 years ago

I have noticed that clicking on a node is creating a new node. I also agree with @ankurankan that there should be an option at top labelled "create node".

pramttl commented 10 years ago

Yeah correct, so far what we have done here is an experiment (not a final feature) to make sure we can:

Yes, we must have a "Create Node" button as you guys suggest as otherwise it conflicts with "selecting a node" and creates more latent problems that I can already see.

pramttl commented 10 years ago

(1) After a user clicks on "Create Node" button a possible idea is to shift states. (A state machine :p)

State Diagram:

Normal-State ------(A1)-----> Create-Node-State

Action:
States:
ankurankan commented 10 years ago

Yes I think this would be a good interface. Because if we have a simple create button the user will have to click on the button and then move each node after it is created.