How to add a diagram as sub diagram of an element using OpenApi?

Hi guys,
How can i add an existing diagram as a sub diagram of an element ( for example an Element in a Breakdown structure diagram) with OpenApi ? Is it possible at all ?

Yes, IModelElement.addSubDiagram(Your IDiagramUIModel)
PS: all model elements are sub-class of IModelElement


Thank you :pray: