Hello,
is there a way to center a diagram when importing it?
Check out this issue: How to center diagram in Viewer?