sigmajs icon indicating copy to clipboard operation
sigmajs copied to clipboard

Crosstalk seems to match partial strings

Open Famondir opened this issue 2 years ago • 0 comments

Hello there, I realy like this framework and was excited to see that there is a possibility to filter for nodes via crosstalk. Unfortunately it does not work correctly. Neither in the example on the website nor with my own data. The issue I see is the following:

Using meaningful ids leads to no match when you select a node or row. Using a id that is based on a simple counter (like in your example) works for the first nine nodes correctly. For row 10-19 it selects row 1, for row 20-29 row 2 and so on. When you select a node (e. g. wit id 27) it will select row 2 and 7.

Therefore, I assume that the comparison is not based on == but on somethink like %in% or str_detect?

Best regards Simon

Famondir avatar Apr 15 '24 08:04 Famondir