Question about the selection on scatter plot and trees [message #99] |
Sat, 22 August 2015 03:58 |
ajing
Messages: 2 Registered: August 2015
|
Junior Member |
|
|
The selection of multiple nodes in a figure is very flexible in DataWarrior. It can select a region without predefined shape. I was wondering what the name is for such flexible selection. Does it have any implementation in JavaScript also?
|
|
|
Re: Question about the selection on scatter plot and trees [message #100 is a reply to message #99] |
Sun, 23 August 2015 14:16 |
thomas
Messages: 715 Registered: June 2014
|
Senior Member |
|
|
The selection is row based. Every row has a selection flag, which defines, whether the row is selected or not. All views share this selection, i.e. they show the same rows selected. If the selection is changed from one view, all other views are informed and update the selection display accordingly. The selection is part of the data model and the concept used is called model-view-controller pattern, but this is pretty standard. About similar implementations in JavaScript I don't know. Java, which DataWarrior is developed in, and JavaScript are entirely different worlds. Hope, this answers the question, Thomas.
|
|
|
|