BlueGraph icon indicating copy to clipboard operation
BlueGraph copied to clipboard

Editor Usability Issue - Nodes hidden from search providers cannot be copied

Open McManning opened this issue 4 years ago • 2 comments

There's a conflict between the rules of the CopyPasteGraph and the search providers. If I hide nodes from DefaultSearchProvider, e.g. by tagging them as something not in a Graph's [IncludeTags], the CopyPasteGraph will also exclude these nodes when reapplying them onto the graph. So all copy/paste/duplicate operations don't work.

I'd like to be able to denote that a node is hidden from the default search provider but can still be used on a graph, preferably by not just giving it a tag that isn't in [IncludeTags].

McManning avatar Aug 30 '20 03:08 McManning

Easiest solution would be that any node copied from a graph can be pasted back onto that same graph. This does create a conflict with [Node(deletable = false)] though - since we'd no longer be checking tags for nodes on the same graph. Maybe deletable becomes something more restrictive, like readOnly?

McManning avatar Aug 30 '20 14:08 McManning

I bumped into that bug too.

neoneper avatar Sep 20 '20 02:09 neoneper