Definition: MergeCells.js is a JavaScript library for working with cells in an HTML canvas or SVG. It allows you to merge multiple cell groups into a single cell group, facilitating more efficient editing in interactive web pages. The "cells" parameter specifies the number of cell groups to merge, and the "cellGroupId" option allows you to select which specific cell group you want to modify.