---
source: https://www.jointjs.com/blog/demo-wednesday-find-all-cells-between-two-elements
generated: 2026-04-05
format: markdown
---

We've published a new demo: [Find all cells between two elements](https://www.jointjs.com/demos/find-all-cells-between-2-elements)

How to highlight all cells between two given elements? [Check out this CodePen](https://codepen.io/jointjs/pen/yLKqyRq/75ae7c1c2d18cce04923fb916c4afea8) to see how we use the graph API to find cells and highlighters to present the result to the user.

See the Pen [JointJS: Find All Cells Between 2 Elements](https://codepen.io/jointjs/pen/yLKqyRq) by JointJS ([@jointjs](https://codepen.io/jointjs))
on [CodePen](https://codepen.io).

For more examples of JointJS and JointJS+, see our [CodePen profile](https://codepen.io/jointjs) and our [official documentation](https://resources.jointjs.com/?_ga=2.157485114.162715808.1653039446-2112624975.1653039446).

To see all the awesome demos we've created so far, check out our [Github Discussions](https://github.com/clientIO/joint/discussions?discussions_q=label%3A%22Demo+Wednesday%22).