# Layout problems open-diagram reports, and how to fix each one

Each page below takes one message from the check (`open-diagram check`), shows a small diagram with that problem, then the change that brings the count to 0. The check names each layout problem in a plain sentence, with the blocks (the boxes in the picture) involved, so a person or an agent can fix it without looking at the picture.

A mistake in a JSON or Mermaid file stops the check with an error that names its place: a path such as `columns[0][0].tiles[1]` in JSON, a line number such as `line 3` in Mermaid. Fix that spot and run the check again.

Updated November 25, 2026. Web page: https://open-diagram.dev/problems.html

Pages:

- [Diagram boxes too close or overlapping: how to fix it](https://open-diagram.dev/problems/boxes-too-close.md): What it means when the open-diagram check says two blocks are only a few px apart or overlap, and how to give them room.
- [Diagram line crosses a box: how to fix it](https://open-diagram.dev/problems/line-crosses-a-box.md): What it means when the open-diagram check says a line crosses a box, and how to send the line around it through a lane or other sides.
- [Line label covers a box in a diagram: how to fix it](https://open-diagram.dev/problems/line-label-covers-a-box.md): What it means when the open-diagram check says a line's label sits on a box, and how to fix it by shortening the label or widening the gap.
- [Arrow leaves or enters a box on the wrong side: how to fix it](https://open-diagram.dev/problems/arrow-on-the-wrong-side.md): What it means when the open-diagram check says a line leaves or enters a box facing away, and how auto sides or a lane fix it.
- [Line label covers a group title: how to fix it](https://open-diagram.dev/problems/label-covers-group-title.md): What it means when the open-diagram check says a line's label sits on the title of a group, and how to move the line or the group.
- [Diagram group covers a box that is not in it: how to fix it](https://open-diagram.dev/problems/group-covers-a-box.md): What it means when the open-diagram check says a group overlaps a box that is not in it, and how to add the box or move it out.
- [Graph label touches a node: how to fix it](https://open-diagram.dev/problems/graph-label-touches-a-node.md): What it means when the open-diagram check says a graph label touches a node, and how to spread the nodes or shorten the label.
- [Graph line runs through a node: how to fix it](https://open-diagram.dev/problems/graph-line-through-a-node.md): What it means when the open-diagram check says a graph line runs through a node, and how to move a node so the straight line is clear.
- [Text does not fit in a diagram box: how to fix it](https://open-diagram.dev/problems/text-does-not-fit.md): What it means when the open-diagram check says a block needs more px than it was given, and how to shorten the words or widen the block.
- [Diagram text too small: how to fix it](https://open-diagram.dev/problems/text-too-small.md): What it means when the open-diagram check says the smallest text is below the theme's minimum, and how to fix it with shorter words.
