Hotspot

data class Hotspot(val iconKey: String, val actionKey: String, val tooltip: String? = null)

A clickable icon overlaid on a node — a "hotspot" — used by the cytoscape exporter via cytoscape-node-html-label to give each node multiple distinct click targets (e.g. "jump to source" top-right, "show failures" bottom-right, "expand callees" bottom-left).

The renderer chooses how to position hotspots (typically one per corner). iconKey is a name in the iconify sprite (e.g. "stig-icons-arrow-up-bold-box-outline"); actionKey is the string the host frame interprets to handle the click (e.g. "open-source", "show-failures").

SVG export ignores hotspots (the static SVG isn't interactive); cytoscape and sigma exports render them.

Constructors

Link copied to clipboard
constructor(iconKey: String, actionKey: String, tooltip: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generated with STIG