showItem

adjusts scroll to make the target shape visible

void showItem(string|number id);

Parameters

idstring|numberthe id of the target shape

Example

diagram.showItem(123);

Related samples

See also
Back to top