Relation diagram

Created: 2026-10-28 · Updated: 2026-10-28

The relation diagram draws main circles and sub circles in any number of levels and arranges them automatically: each circle sits around its parent, connected by a line, without overlaps. On top come labeled cross relations between any circles and frames ("universes") around main circles that belong together. You can read the diagram back, extend it and recalculate it at any time.

Pro license and up

Opening the panel, the preview and reading a diagram back are free in every license. Create new and Update require the Pro license.

Relation diagram with the default settings


Opening

In the ribbon, PPPTools → group "Tools" → Relation diagram. The panel opens on the right.

  • At the top, the preview with a check line, e.g. "no overlap ✓", "densely packed", "in the work area" or "2 universes overlap".
  • If a calculation takes longer, a bar "Calculating … n %" appears under the preview. While creating or updating, the panel is locked until it is done.
  • In the middle, the tabs Circles, Relations and Format (colors, sizes, arrangement).
  • The buttons for adding (+ Main circle … or + Relation …) are fixed at the bottom of the tab — reachable without scrolling, even in long lists.
  • At the bottom, always visible: Create new, Update, Read from selection, Release fixed circles.
  • The ? button next to the title opens this page.

Entering circles

There are two views with the same content; the switch is Edit as text / Edit as list.

As a list

One row per circle.

Key / button Effect
Enter new circle on the same level
Tab / Shift+Tab one level deeper / higher
Alt+Up/Down arrow move the circle
Backspace in an empty row remove the circle (with its sub circles)
Drag the ⠿ handle move the circle with its sub circles; a colored line shows where it lands. Drag right / left = sub circle / one level higher
+ Main circle, + Same level, + Sub circle add a circle (relative to the selected one)
+ Universe put a frame over the selected main circle — this also gives an existing group a universe later on

Each row has a color button and ✕. Renaming updates the relations too.

Right-click a row (its text or the ⠿ handle) for a menu with the same commands, applied to that row: cut/copy/paste, circle on the same level, sub circle, main circle, universe, one level deeper/higher, Relation from here … and remove. Relation from here … switches to the Relations tab and adds a new row with this circle as From.

As text

[Galaxies] {accent4}
Milky Way
    Sun
        Earth
            Moon
    Sirius {accent2}
[]
Andromeda
    M32
  • One circle per line; Tab or two spaces indent one level deeper. Not indented = main circle.
  • # at the start of a line = comment.
  • {accent2} at the end of a line = custom color (also #RRGGBB or accent1+40 = lighter).
  • [Title] starts a universe, [] ends it; [Title] {accent4} colors it.
  • Duplicate names are allowed.

Relations

Cross lines between any circles, also across universes.

  • List: From · direction (→ directed, ↔ both ways, — no arrow) · To · label (optional) · style · ✕. You pick only from existing circles.
  • Connect selected circles: select two circles on the slide — the one clicked first is From.
  • Text: A -> B : label, A <-> B, A -- B (spaces around the arrow, so hyphens in names work). Style: {accent2 dash 2pt}.
  • Without a style of its own, As in Format applies.

Cross lines are kept short but are not guaranteed to be crossing-free.


Colors & universes

  • Circles per level: radius, font size and color per level. There are as many rows as your input has levels (Main · Sub · Level 3 · Level 4 …); a new level starts 20 % smaller than the one above, in its color. The text picks light or dark automatically.
  • Colors sets where the circle colors come from. The choice sits above the level rows; a note below them says where the colors currently come from, and locked swatches give the reason in their tooltip.
  • Choose per level: click a level's swatch to open the color picker — theme color or any color.
  • One color, lighter/darker per level: you only choose the color of the main circles; each deeper level gets lighter or darker by the set step (default 20 %). With many levels the step shrinks so the deepest level stays distinguishable.
  • Palette per level: the palette read left to right — level 1 gets the first color, level 2 the second, and so on. A gradient is spread evenly over the levels.
  • Palette per branch: each main circle gets its own palette color, its sub circles get evenly lighter.
  • Palette: only shown in the two palette modes; palettes and gradients are managed in the palette manager.
  • A circle's own color beats level and palette and is inherited by all its sub circles until one has its own again.
  • Universes get an accent color automatically: thin line, light fill, title at the top left.

Shapes

Next to the color, every universe and main circle has a shape button: circle (default), rounded rectangle, rectangle, square, rounded square, hexagon, diamond, octagon. The shape applies to all circles below; a main circle without its own shape takes its universe's. In text: [Market] {hexagon} or Partner {accent2 diamond}.


Levels & size

Setting Effect
Circle size: By weight (default) circles with many sub circles grow up to 1.8×, their text with them
Circle size: By level all circles of a level have the same size

If a main circle has only one or two sub circles with further levels below, PPPTools draws a radial tree: the first level sits opposite each other, and from the second level on each circle places its children around itself. This happens only when it works out cleanly and needs hardly any extra space.


Arrangement & font

Setting Effect
Arrangement Bubbles (no overlap) — default, no overlaps guaranteed · Force-directed — connected circles attract each other, no guarantee
Packing Automatic (dense from 40 circles) · Airy · Dense (as tight as possible, the text stays larger)
Orientation Automatic (fits the area) · Landscape · Portrait. To get there, PPPTools turns each main circle with its sub circles by 90° where needed (the text stays horizontal)
Font size Same everywhere · Dynamic per level (default) · Dynamic per circle. The font per level is the minimum; if space runs out, it goes down to 5 pt as a last resort
Enlarge circles to fit their text circles grow up to 2.5× until every text fits without hyphenation
Fit into the work area uses the work area from Grid & guides
Keep the arrangement when extending on Update, existing circles stay where they are; new ones are added

Distances in the tree

These four settings decide how far sub circles sit from their parent and how siblings are spread. All images show the same example, each with one setting changed; everything else is at the default.

Default

Line at least 1.6 × radius · Applies to: All, decreasing outward · Distance: Per child · Siblings: Close, in line · Space needed: Actual shape

Default settings

The children of a main circle keep a clear line of distance (at least 1.6 × the main circle's radius); each deeper level gets half of that. Siblings crowd together in line, pointing away from their parent.

Line at least (× radius)

How long the connecting line between parent and child is at least, measured in the parent's radius. 0 = as tight as possible.

Line at least 0 Line at least 0.8
Line 0 Line 0.8

Shorter lines make the diagram more compact and the text larger; longer lines make the branches easier to read but cost space.

Applies to

Which levels the minimum line applies to.

Main circles only All levels
Main circles only All levels
  • Main circles only: only the first level gets the long line; below that, circles are packed tightly.
  • All levels: every level keeps the distance — airier, but much larger.
  • All, decreasing outward (default): each deeper level gets only half — the large circles get air, the small ones stay close.

Distance

How the distance to the parent is calculated.

Distance: Ring

  • Per child (default): each child sits as close as its own space allows. A planet without moons sits closer than one with many.
  • Ring: all children sit on one shared ring, as far out as the largest child requires. It looks tidier but needs much more space (in the image: the Sun's planets).

Siblings

How children are spread around their parent (from the second level on; main circles always spread their children all around).

Siblings: Spread

  • Close, in line (default): the children sit close together on the side facing away from the parent. Two children stand left and right of that line.
  • Spread: the children get a wider fan. With few children the difference is small.

Space needed

What PPPTools counts when it places circles with sub circles next to each other.

Space needed: Bounding circle

  • Actual shape (default): a circle with sub circles needs only the area its outermost circles really cover. Neighbors may move into the gaps.
  • Bounding circle: each branch counts as a full circle around all its circles. Simpler and more even, but looser and smaller.

Lines

Setting Effect
Nearest connection points (standard) lines stick to the nearest connection points and follow when you move circles
Turn circles circles turn slightly toward the line so it connects in the middle (the text turns too)
Align circles children are turned slightly with their branch until the line meets a connection point straight on — only where this works cleanly; the preview reports "n not aligned"

Legend

Under Format → Lines, Add a legend places a small legend at the bottom right of the usable area on the next Create new or Update:

  • per universe a color swatch with its title;
  • per line style in use (color, dashed or solid, width, arrows) a sample line with the labels of those relations (up to three, otherwise "…"). Relations without a label are listed as "Relation".

The legend is a group of its own next to the diagram. You can move it freely; Update rebuilds it in the same place with the current content. Switch it off and Update to remove it.

A legend that speaks

Give relations of the same line style the same label (e.g. all dashed ones "influence"), and the legend shows exactly that one word.


Extending & updating

  • Update recalculates and replaces the diagram on the slide.
  • Moved the whole diagram? It stays in its new place.
  • Moved single circles by hand? They are fixed (their branch moves with them) as long as Keep circles moved by hand is on. Release fixed circles frees them again.
  • Read from selection loads input and format from a selected diagram back into the panel.

The model is stored in the presentation, so you can edit the diagram again even after closing it.


Sample datasets

Two larger samples to try things out, each with one file for the circles and one for the relations:

  1. Open the file, select everything (Ctrl+A) and copy (Ctrl+C).
  2. On the Circles tab switch to Edit as text and paste (Ctrl+V).
  3. Do the same with the relations file on the Relations tab.
  4. Click Create new or Update.

Format: text, UTF-8. Lines starting with # are comments and are ignored.

Dataset Circles Relations Shows
Solar system 55 circles 20 relations 3 universes, down to level 4, own colors and shapes, labels, dashed and thick lines
Company 48 circles 18 relations 3 universes (market, product, operations), one free main circle, many cross relations

Good for trying out

The solar system is good for comparing the four settings under Colors; the company for comparing the arrangements Bubbles and Force-directed.


Tips

  • Large diagrams (more than 40 circles): packing Dense and font Dynamic per level.
  • Long names: turn on Enlarge circles to fit their text.
  • Not enough space? Reduce Line at least or set it to 0.
  • Many cross relations: try Force-directed and watch the check line.