csdms / wmt

The data and database servers for the CSDMS Web Modeling Tool
2 stars 2 forks source link

Need to represent multiple instances of a component in the ModelTree #9

Closed mdpiper closed 10 years ago

mdpiper commented 10 years ago

In most cases, only one instance of a component will be present in the ModelTree. In some cases, though, an instance may be listed multiple times in the tree. This is currently handled by showing the component as a "link." However, in other cases, multiple instances of a component, each with their own parameters, may be used in the tree. This is not currently handled, and needs to be.

mdpiper commented 10 years ago

@mcflugen & I discussed this. Let the current default of creating a "link" in the tree stand, since this is more common. However, if a user deletes a link and then drags over another component, treat that component as a new instance, with its own parameters. Need to mark it. Perhaps something like Avulsion_0, Avulsion_1, etc.?

mdpiper commented 10 years ago

Moved to https://github.com/csdms/wmt-client/issues/7.