Docs / Layout problems
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.
Updated
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.
Diagram boxes too close or overlapping: how to fix itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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 itWhat 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.