Z-ordering of TextBlock blocks Shape port from being selected

I have a TextBlock overlaid on top of a Shape that is used as a port, and the problem is the TextBlock is preventing the Shape from being easily selected/clicked. Is there a way to allow “click-through” for TextBlock like pointer-events:none or something??

Yes, set GraphObject.pickable to false.