Added structure for MergingNodesAnimation class