Closed hski-github closed 3 years ago
formattedValue() should not be used as an identifier since it might have duplicates. Instead the key of the underlying hierarchy node should be used. formattedValue is meant for presentation.
https://tibcosoftware.github.io/spotfire-mods/api-docs/interfaces/dataviewcategoricalvaluepathelement.html
https://github.com/hski-github/spotfire-sankey-diagram/blob/e59b18981f1bfb51b8e741e4e48a8efea8db6618/src/main.js#L88-L98
formattedValue() should not be used as an identifier since it might have duplicates. Instead the key of the underlying hierarchy node should be used. formattedValue is meant for presentation.