Highlight child and grandchild notes

I have been trying to set up an action where if a note is selected the child and grandchild notes gets highlighted.

Is there a tutorial how to do this.

Thanks!

What gets highlighted? The note in the view pane and or the note’s $Text. Which view are you using?

In case it helps only Outline view has a view notion of a ‘highlight’ although it doesn’t use that term. For more see here: Coloured Backgrounds and Selections.

If you want a selection highlight to occur based on a selection elsewhere, you might find these useful: select() and select(scope). The different syntaxes have differing results, this the separate listings for seemingly the same operator.

Thank you!
I am using Map view.

When a note (parent) is selected, I would like to highlight the parent, child and grandchild notes.

I have several approaches, but I have not gotten far.

By highlight do you mean select them? Could you post a screen grab of whiat a highlighted note looks like? I ask as the meaning here is still ambiguous.

But none of these are on the map! Consider this in the outline:

If we show the select3d note on a map:

So the parent note can’t be seen. A child note (or some third notes can be seen in container map viewport but selection state (‘highlight’) for those notes is not drawn on the current map.

Coming from a different angle, what is your desired outcome enabling? Copying/moving a selection of notes? Knowing that might offer a better way to get to the desired outcome.

Thank you! When I select a note I would like the ‘color’ attribute of the note to change to yellow; also of its child and grandchildren notes.

Ah, that helps. You’re understandably assuming a parent/child relationship based on the orientation, but that notion is not how Tinderbox understand it. Instead, note “Paediatric extradural haematoma” has link, of link type “*untitled” (i.e. no link type), to note “neonatal”. “Paediatric extradural haematoma” is the source of the link and “neonatal” is its destination.

In the image only two of the linked-to notes are yellow. How does Tinderbox know which links to colour and which to leave alone?

When the original note is de-selected, are you expecting the linked notes to result their original colour.

As the feature doesn’t exist in the form you assume (no judgement implied in that!) we have to consider that there are edge cases to consider: things you don’t want to happen.

My sense is that what would help you more would be to use link types on your link and then use hyperbolic view to explore these relationships.

@mwra Thank you very much for the clarification and direction. I have now used the ‘link type’ and hyperbolic view. It does the job.

Happy to help. Glad Hyperbolic view is working out, being a newer view, it is easy to overlook. :slight_smile:

Yes, like the hyperbolic view. Very smart!