Expose Diagram API as engine API