func (o *DependencyMap) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseDependencyMap)
	if so.Edges != nil {
		o.Edges = *so.Edges
	}
	if so.Groups != nil {
		o.Groups = *so.Groups
	}
	if so.Nodes != nil {
		o.Nodes = *so.Nodes
	}
	if so.ViewSuggestions != nil {
		o.ViewSuggestions = *so.ViewSuggestions
	}
}
// Patch apply the non nil value of a *SparseDependencyMap to the object.
Patch apply the non nil value of a *SparseDependencyMap to the object.
// Patch apply the non nil value of a * SparseDependencyMap to the object .
func (o *DependencyMap) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseDependencyMap)
	if so.Edges != nil {
		o.Edges = *so.Edges
	}
	if so.Groups != nil {
		o.Groups = *so.Groups
	}
	if so.Nodes != nil {
		o.Nodes = *so.Nodes
	}
	if so.ViewSuggestions != nil {
		o.ViewSuggestions = *so.ViewSuggestions
	}
}
func ( o * DependencyMap ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseDependencyMap ) if so . Edges != nil { o . Edges = * so . Edges } if so . Groups != nil { o . Groups = * so . Groups } if so . Nodes != nil { o . Nodes = * so . Nodes } if so . ViewSuggestions != nil { o . ViewSuggestions = * so . ViewSuggestions } }
Patch apply the non nil value of a *SparseDependencyMap to the object.
Patch apply the non nil value of a * SparseDependencyMap to the object .