Open this page in the API Guide

Diagram.onDataChanged Method

Called when data changes.