Hi,
My application diagram is a bigger one and have lot of diagram nodes and when it is zoomed around 200, for some nodes, the text content is not shown properly and for some nodes, nothing is shown.
In the attached sample screen shot, the first and third node is fine. Second node is shown partially and the fourth is showing empty context.
I've attached a sample application to simulate this issue in this path:
https://drive.google.com/file/d/1vt_xsOUxTfo91f1pb_0c0vq3TV0Y5dUI/view?usp=sharing
Following is the sample code to create the nodes,
var y1: number = 6.6; // Correct
this.createTableNode(7950, y1, 150, 250);
var y2: number = 6.6; // Wrong
this.createTableNode(8125, y2, 150, 250);
var y3: number = 7.5; // Correct
this.createTableNode(8300, y3, 150, 250);
var y4: number = 6.74; // Wrong
this.createTableNode(8475, y4, 150, 250);
var y5: number = 6; // Correct
this.createTableNode(8650, y5, 150, 250);
var y6: number = 6.6; // Wrong
this.createTableNode(10025, y6, 150, 250);
var y7: number = 6; // Correct
this.createTableNode(10200, y7, 150, 250);
this.diagram.setBounds(new Rect(0, 0, 10400, 300));
this.diagram.setZoomFactor(200);
I observed the impacting factor is the y-value. May I know why it happens like this?
Regards,
Kannan