Vue2 - Org Chart Highlight Node on Search

Versions: Go.js 2.1.33 & Vue 2 & Nuxt 2
Steps:

  1. Node is fetched after search.
  2. Inside the transaction the collection is highlighted for the search results.
    Issue: The search result is available but the highlight is not working. The CSS is not applied for the same.

Code:


Please do help me in understanding what’s the issue here. Thanks in advance.

GoJS does not provide a predefined appearance for highlighted Parts, whereas it does for selected Parts. Your node template(s) should be adapted to support it, typically via data bindings depending on Part.isHighlighted. Please read Highlighting | GoJS

Thank You for your response.

It does support the highlight. Will go through the documentation again.

The issue was with max nodes that can be selected / highlighted. I had set it to 0, which resulted in not highlighting the node.