How to get shape features of sequence flow elements in a bpm diagram?

Hi guys
I want to get shape features of sequence flows in a bpm diagram inside my plugin.For example i want to get their line weight or font style. how to do that ?
thanks in advance

Hi Mamad,

Thank you for your post. I have forwarded your question to our team. When there is any feedback, I will post here.

Best regards,
Jick Yeung

Hi Mamad,

Assuming that you have the ‘view’ (IConnectorUIModel) of the sequence flow.

To get the line weight:
IDiagramElementLineModel lineModel = connector.getLineModel();
lineModel.getWeight()

To get font style:
IElementFont elementFont = connector.getElementFont();
elementFont.getStyle() or isBold() isItalic()

Best regards,
Jick Yeung