archi icon indicating copy to clipboard operation
archi copied to clipboard

In typing name of new node show possible matches which can be selected for the node

Open peterprib opened this issue 5 years ago • 6 comments

In adding a new node the node may already exists. Thus this feature shows the possible match. Saves having to do a search and helps minimize duplication of nodes.

peterprib avatar Oct 03 '19 10:10 peterprib

With a very large model there will be a bad performance hit as the model is searched for matching names as each letter of the name is typed.

Phillipus avatar Oct 03 '19 10:10 Phillipus

Just did a POC test. It could be done but all concept names would need to be cached. Also, this comes under the general heading of "warn users if they type a duplicate name" which could apply also to the models tree, the property view, rename actions, undo/redo actions and possibly other places.

Phillipus avatar Oct 03 '19 11:10 Phillipus

Closing this one as we already have #377

Phillipus avatar Oct 03 '19 11:10 Phillipus

Different from duplicate name as suggesting it can then select one of the list plus match should not be word order dependent which could be done by hash maps which should overcome performance problems mentioned

peterprib avatar Oct 03 '19 11:10 peterprib

OK, I'll re-open it but they are connected issues.

Note, keeping lookup tables in sync with a changing model is not easy.

Phillipus avatar Oct 03 '19 11:10 Phillipus

Didn't mean to imply not connected just the other is a small subset. Suggest its a case of "close enough is good enough", that is, if there are a few exceptions does it matter more so if phonetics and synonyms recognition added along with removal of noise words such as "a", "the", "to"..... Its use is just an aid so accuracy doesn't have to be perfect.

peterprib avatar Oct 03 '19 12:10 peterprib