Open this page in the API Guide

RelationshipDiagram.onDataChanged Method

Called when data changes.