Untangle (Reduce Crossed Links)
Untangle is a layout tool that reduces the number of relationship links that cross each other on a diagram, by repositioning entities that connect to the same targets.
The Problem It Solves
Relationship arrows on an ownership diagram usually all flow the same way — by default, downward. That works cleanly when each entity's connections are simple. It breaks down when two or more entities at the same level connect to the same entities below them: their links have nowhere to go but through each other.
A common example: two people who are joint shareholders of the same three companies. Husband and wife each hold shares in Company A, Company B, and Company C. Laid out naively, both people sit in a column above the three companies, and their six shareholding links cross repeatedly trying to reach the same targets.
What Untangle Does
Untangle looks for hubs: pairs of entities that share at least two connections, making up at least half of the connections of the less-connected one, and that aren't linked to each other, like the husband and wife above, both connected to the same three companies. Their connections don't have to be identical. It then tries arrangements that place the hubs and what they connect to in different bands of the diagram. Where it finds no hubs, it falls back to a general search for a better order.
Every arrangement is judged the same way: Untangle counts the crossings between all the links the layout arranges, and keeps an arrangement only if it has fewer crossings than the normal layout. (Financial links count only while Include financial links in auto-layout is on in Diagram Settings.)
For the husband-and-wife example, the layout that removes the crossings puts the shared companies between the two people rather than below both of them: one person stays above the companies as usual, while the other moves to a level below them. That person's shareholding links still represent the same relationship — they hold shares in the company — but now run upward to reach it, against the diagram's usual top-to-bottom flow, because they've been placed on the far side of what they connect to. Untangle can also resolve the same crossings by keeping both people at the same level and placing them either side of the companies instead — it uses whichever arrangement measurably removes more crossings.
This means Untangle can move an entity to a different level in the diagram, not only sideways within its current one. It works along whichever direction the diagram flows — top-to-bottom by default, or left-to-right, right-to-left, or bottom-to-top if you've changed Direction of diagram flow — repositioning entities along that axis. It never changes what a relationship means or which entity it points from and to; it only changes where the connected entities sit, which can change how the link looks on screen.
Directors and Cross-Directorships
Untangle is especially useful when a few people are directors of many of the same companies. Draw every directorship as a line and the result is a dense web of crossing links: each person is connected to most of the companies, and their lines run through each other. That overlap is what Untangle looks for, among the directors or among the companies they direct.
Directors are listed inside the company by default, not drawn as lines, so first make them part of the diagram:
- Open Diagram Settings and go to the Relationships tab.
- Under Role Links, set Director to As Link. Do the same for Company Secretary if you want those too.
- Turn on Untangle in the layout panel, then click Refresh ▸ Layout.
Untangle then counts the director lines with every other link, and may move some of the people, or some of the companies, to a different level, so that fewer lines cross. If the result is still busy, switch Style to Tracks and turn on Merge Links, so lines running to the same company share a track.
Directors shown In Entity (listed inside the company's box) or Hidden draw no lines, so they give Untangle nothing to work with.
What You'll See
- Turn on Untangle, then trigger a layout run (see How to Change Diagram Layout).
- If an improvement is found, affected entities move to less-crossing positions and the layout is applied.
- If Untangle can't find an arrangement that reduces crossings, it says so — you'll see No improvement found under the checkbox — and the layout is left completely unchanged. A checked Untangle box is always safe to leave on: it never makes a diagram worse.
- It doesn't run on very small or very large diagrams. It needs at least 4 entities, and it is skipped on diagrams with more than 60, to keep the diagram responsive. When it is skipped there is no message; the layout is simply the normal one. On a large diagram, use a diagram scope or the focus entity to show fewer entities at once.
How to Turn On Untangle
- Open an ownership diagram.
- Click the layout status button on the toolbar (it reads Auto-layout or Manual-layout).
- Under Optimise, check Untangle.
- Trigger a layout run: click Refresh ▸ Layout.
Tips
- Leave it on. Because Untangle only acts when it finds a genuine improvement, there's no downside to leaving it checked all the time.
- An entity may move to a different level, not just sideways. If a link looks like it's running "backwards" after Untangle runs, that's expected — the entity moved to the far side of what it connects to, but the relationship itself is unchanged.
- It won't help every diagram. Untangle works best where several entities share most of their connections. If your diagram's crossings come from some other cause, Untangle may report no improvement — try Unzip Rows or Merge Links instead, or manually adjust entity positions.
- Works alongside Merge Links. Untangle repositions entities to avoid crossings; Merge Links bundles links that still travel closely together after positioning, but only with Tracks routing. The two often help the same crowded diagram in different ways.
- Available with the current Standard layout.