ER Diagram class name as link

Hi in the example Entity Relationship provide in go.js website. How can i change each header into a link, for example if i click only on “products” i want to perform some action .

Just set its TextBlock.click event handler, GraphObject | GoJS API.

For more info, read GoJS Events -- Northwoods Software.

For an example, examine Euler Diagram.

thanks will try that . In addition ,how can i underline the header(text)
?

Also you might be interested in: Hyperlink for any nodes in incremental diagram

Thanks it worked

Also, see: Hyperlink for any nodes in incremental diagram