onChanged

var onChanged: (old: EdgeType?, new: EdgeType?) -> Unit?