Annotation template misbehavior

Hello,

I'm trying to create node annotations with borders. To get it I've created a node annotation using the template property but I have a visualization problem. When I put a node over another I can see the annotation of the node below as you can see in the images I attach.

                      

Is it possible to avoid this behavior?

Thank you,
Alex P.

1 Reply 1 reply marked as answer

GG Gowtham Gunashekar Syncfusion Team May 18, 2021 02:18 PM UTC

Hi Alex, 
 
On the further analysis on the shared details we suspect you have used the node with HTML annotation template. In our Diagram component, we have maintaining two layers one is diagram layer(for non-html content elements , like nodes connector) and another one is HTML layer(for html content element like annotation template, HTML node content). The HTML layer takes place above the diagram layer so all the HTML content elements will take place on top of the non-HTML element. It's the behavior of the diagram component. we don’t have any option to change this behavior. So, we are suggesting you to use all the nodes as HTML nodes to overcome this issue 
  


 
 
Regards,          
Gowtham   


Marked as answer
Loader.
Up arrow icon