V
V
Vadim V2020-06-18 21:41:56
Canvas
Vadim V, 2020-06-18 21:41:56

How to make two labels in cytoscape library?

I'm suffering all day today, I can't solve the problem - I need to display 2 different labels in one node. There is a circle (png picture) inside in the center, you need to display the text from the bottom. I tried to create 2 nodes, specifying the first node as parent, but it overlaps it, it is necessary that the second node serves only for text, and all event listeners that are needed only on the first node are applied to it ... I also tried this method https://js .cytoscape.org/demos/labels/ ( https://github.com/cytoscape/cytoscape.js/blob/mas... but only one label can be inserted there, in general it is impossible to make a second label in any way. It is the library that does not allow , you need to find some way.I will be very grateful for the help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question