Creates a text element bound to container, centred in a shape or at an arrow's midpoint. Add it with store.add inside viewport.transaction, or call viewport.setBoundText instead.
container
store.add
viewport.transaction
viewport.setBoundText
Creates a text element bound to
container, centred in a shape or at an arrow's midpoint. Add it withstore.addinsideviewport.transaction, or callviewport.setBoundTextinstead.