sankeymatic icon indicating copy to clipboard operation
sankeymatic copied to clipboard

Tag and text

Open Nemecsek opened this issue 6 years ago • 1 comments

Now each node has a tag used as link reference: Node1 [100] Node2

Node1 and Node2 are shown on the plot.

But what is I want to read something else on the graph, instead of the node tag?

I would like, for example, to be able to set the nodes as:

Node1 [100] Node2

:Node1 $text_to_show_for_node1
:Node2 $text_to_show_for_node2

It would even be nice if text could be multiline, with the first line always bold, and the following lines normal. This would allow to show any kind of parameters/values associated to the node (first line being the id we chose, and the following lines the values). A markup language to define the text to show would make everything very flexible.

Or is there a workaround I didn't think about?

Nemecsek avatar Apr 16 '18 09:04 Nemecsek

I agree that this would be a useful feature. In some cases, nodes may have the same text (most probably, in different columns), which is currently not possible (I think).

nplatis avatar Jul 02 '23 05:07 nplatis