Highlight Inner text in Node

We have a requirement when we need to select a text inside node and hight text and Highlight connection and their connection links As showing yellow marks in image.

If that is a separate TextBlock, it’s easy to set or bind its GraphObject.background property.

Hi walter can you give a reference … on mouse selection event/

$(go.TextBlock, . . .,
  new go.Binding("background", "isSelected", s => s ? "yellow" : null).ofObject())