Search results

Hyperlink API in React Diagram API component

Defines the hyperlink for the annotations in the nodes/connectors

Properties

color

string

Sets the fill color of the hyperlink

Defaults to ‘blue’

content

string

Defines the content for hyperlink

Defaults to

hyperlinkOpenState

LinkTarget

Allows the user to open the hyperlink in the new tab, current tab or new window

Defaults to ‘NewTab’

Defines the link for hyperlink

Defaults to

textDecoration

TextDecoration

Defines how the link should be decorated. For example, with underline/over line

  • Overline - Decorates the text with a line above the text
  • Underline - Decorates the text with an underline
  • LineThrough - Decorates the text by striking it with a line
  • None - Text will not have any specific decoration

Defaults to ‘None’