Skip to content
LeanSuite

Practical guide · Value stream mapping and flow

Precedence diagram: how to draw one for an assembly line, with a worked example

Short answer

A precedence diagram shows each work element of a job as a circle and draws an arrow from every element to the ones that cannot start until it is done. It tells you which work is locked in order and which is free to move between stations.

To draw a precedence diagram, list the work elements with their times and, for each one, its immediate predecessors: the last elements that must be finished before it can start. Draw the elements with no predecessor on the left. Place every other element one column to the right of its latest predecessor, then draw one arrow from each immediate predecessor. Write the time beside each circle. In the 12-element example on this page there are 16 arrows in 7 columns, and they cut 479 million possible work orders down to 619 that can actually be built.

Last reviewed:

What is a precedence diagram?

A precedence diagram for a 12-element assembly job

Example numbers
Precedence diagram of the cordless drill lineTwelve work elements in seven columns with 16 arrows. A leads to B, C, E and H. B and C lead to D. C and E lead to F. B leads to G. D, F and H lead to I. I leads to J. G and J lead to K. K leads to L. Times in seconds: A 6, B 26, C 12, D 32, E 12, F 20, G 14, H 16, I 6, J 34, K 22, L 13.1234567ColumnA6 sB26 sC12 sD32 sE12 sF20 sG14 sH16 sI6 sJ34 sK22 sL13 s
  • A housing half in fixture
  • B motor and gearbox
  • C trigger switch
  • D motor leads
  • E terminal block
  • F terminal leads
  • G chuck
  • H worklight
  • I close housing
  • J eight screws
  • K functional test
  • L label and pack

Twelve work elements in seven columns with 16 arrows. A leads to B, C, E and H. B and C lead to D. C and E lead to F. B leads to G. D, F and H lead to I. I leads to J. G and J lead to K. K leads to L. Times in seconds: A 6, B 26, C 12, D 32, E 12, F 20, G 14, H 16, I 6, J 34, K 22, L 13.

Each circle is one work element with its time. An arrow means "finish this before you start that". Elements in the same column do not depend on each other, so their order is yours to choose. Total work content: 213 seconds.

A precedence diagram is a map of what depends on what. Every piece of work in an assembly job gets a circle. An arrow from one circle to another means the first must be finished before the second can start. You cannot drive the housing screws before the housing is closed, so an arrow runs from "close housing" to "drive screws".

It exists because assembly work has two kinds of order. Some of it is forced by the product: a part is trapped under another, a joint must be made before it can be tested. The rest is habit: the order someone chose years ago. A list of steps mixes the two. The diagram keeps only the forced order, and that is what makes it useful. Everything the arrows do not forbid is a choice you can make again.

The main use is line balancing. Every balancing method, by hand or in software, reads the diagram to know which elements may share a station and which must wait. It is also how you check a new layout, plan a change in the build order, or explain to a new engineer why the line is the way it is.

The parts: nodes, arrows and immediate predecessors

The parts of a precedence diagram
PartWhat it isHow it is drawn
NodeOne work element: the smallest piece of work it makes sense to move from one station to anotherA circle with the element's letter or number inside
Element timeHow long the element takes, from a time study or an estimateA number beside the circle, with the unit stated once
ArrowA precedence relation: the element at the tail must be finished before the element at the head startsA straight line with one arrowhead, drawn left to right
Immediate predecessorAn element that must come directly before this one, with nothing required in betweenThe elements whose arrows end at this node
ColumnA set of elements that all become possible at the same stage of the buildNodes lined up one above another

This is the activity-on-node convention: the work is in the circles and the arrows carry only the order.

The word that trips people up is immediate. An element's immediate predecessors are the last things that must be done before it, not everything upstream. On the drill line below, closing the housing (I) needs the motor leads connected (D). Connecting the motor leads needs the motor fitted (B). So B must come before I, but you do not draw that arrow, because B to D to I already says it.

Nodes, arrows and the arrow you leave out

The parts of a precedence diagramThree nodes, B, D and I, joined by arrows from B to D and from D to I. A dashed, crossed-out arrow from B straight to I shows a redundant arrow that should be left out, because the chain through D already implies it.Redundant arrow: B to D to Ialready says it. Leave it out.B26 sD32 sI6 sNode: one work elementwith its timeD is an immediatepredecessor of IArrow: the tail must finish before the head starts
Draw an arrow only from an immediate predecessor. Anything further upstream is already implied by the chain.

An arrow that is already implied by a chain of other arrows is called redundant. Leave it out. It adds no information, it clutters the drawing, and in a hand method such as ranked positional weight it can make you count a follower twice.

How to draw a precedence diagram, step by step

You need two things before you draw: the element list with times, and someone who knows the product well enough to say what really has to come first.

  1. 1

    List the work elements and their times

    Break the job into elements with a clear start and end, each small enough to hand to another station as a whole. Give each a letter and a time. A time and motion study gives you both the breakdown and the times.

  2. 2

    Write the immediate predecessors for each element

    For each element ask: what must be finished just before this can start? Accept only physical and quality reasons, such as access, trapped parts, cure time or a test that needs the assembly complete. "We have always done it that way" is not a predecessor.

  3. 3

    Draw the elements with no predecessor

    They form the first column, on the left. On most assembly jobs it is one element: loading the base part.

  4. 4

    Place each element after its latest predecessor

    An element goes one column to the right of the furthest right of its predecessors. Elements in the same column do not depend on each other.

  5. 5

    Draw the arrows and write the times

    One arrow from each immediate predecessor to the element. Then remove any arrow a chain already implies. Write the element time beside each circle.

  6. 6

    Check it on the floor

    Walk the diagram with an operator and the process engineer, arrow by arrow. Ask of each one: what goes wrong if we do these the other way round? They will find the arrow you invented and the one you missed.

Building the drill line's diagram column by column

Example numbers

Steps 3 and 4. Start with A, which needs nothing. B, C, E and H need only A, so they go one column right.

Stage 1 of drawing the diagramElements drawn so far: A, B, C, E, H. Added at this stage: B, C, E, H.DFGIJKLA6 sB26 sC12 sE12 sH16 s

Step 4 again. D, F and G go one column right of their latest predecessor. I needs D, F and H, so it sits after D and F.

Stage 2 of drawing the diagramElements drawn so far: A, B, C, E, H, D, F, G, I. Added at this stage: D, F, G, I.JKLA6 sB26 sC12 sD32 sE12 sF20 sG14 sH16 sI6 s

Step 5. Add J, K and L, draw every arrow and count: 16 arrowheads for 16 predecessors in the table.

Stage 3 of drawing the diagramElements drawn so far: A, B, C, D, E, F, G, H, I, J, K, L. Added at this stage: J, K, L.A6 sB26 sC12 sD32 sE12 sF20 sG14 sH16 sI6 sJ34 sK22 sL13 s

Three stages. First A with B, C, E and H to its right. Then D, F, G and I. Then J, K and L, giving the full diagram of 12 elements and 16 arrows.

Yellow marks the elements added at each stage. Place an element by its latest predecessor and the columns sort themselves out.

Count as a check. The number of arrowheads arriving at each node must equal the number of immediate predecessors in your table. And the sum of the times on the diagram must equal the total work content from the study.

Worked example: a 12-element cordless drill line

Illustrative example. A line assembles a cordless drill in 12 work elements with 213 seconds of work in total. The table is the input. The last column is worked out from the predecessors: 1 for an element with none, otherwise one more than the highest column among its predecessors.

Illustrative: the drill line's elements, immediate predecessors and diagram column
ElementWorkTime (s)Immediate predecessorsColumn
APlace left housing half in the fixture6None1
BFit motor and gearbox26A2
CFit trigger switch12A2
DRoute and connect motor leads to the switch32B, C3
EFit battery terminal block12A2
FConnect terminal leads to the switch20C, E3
GFit chuck to the spindle14B3
HFit worklight and lens16A2
IClose right housing half6D, F, H4
JDrive eight housing screws34I5
KFunctional test: run, reverse, clutch22G, J6
LLabel and pack13K7
Total12 elements21316 arrows7 columns

Read the reasons, because they are what you will be challenged on. Everything needs the housing half in the fixture (A). The motor leads (D) need both the motor (B) and the switch (C) in place to connect them. Closing the housing (I) traps the wiring and the worklight, so D, F and H must all be done first. The test (K) needs a closed, screwed drill (J) with a chuck on it (G).

Reading the diagram for freedom

The point of the drawing is to see what can move. For each element, count the elements that must come before it, directly or through a chain, and the ones that must come after. What is left is how far it can slide.

Illustrative: how far each drill line element can move in the build order
ElementMust come before itMust come after itEarliest positionLatest position
A0111st1st
B162nd6th
C162nd6th
D344th8th
E152nd7th
F344th8th
G223rd10th
H142nd8th
I738th9th
J829th10th
K10111th11th
L11012th12th

Earliest position = elements before it + 1. Latest position = 12 minus elements after it.

How far each element can slide in the build order

Example numbers
A
B
C
D
E
F
G
H
I
J
K
L

Position in the build order, 1st to 12th. Filled cells are the positions the arrows allow.

A: 1st only. B: 2nd to 6th. C: 2nd to 6th. D: 4th to 8th. E: 2nd to 7th. F: 4th to 8th. G: 3rd to 10th. H: 2nd to 8th. I: 8th to 9th. J: 9th to 10th. K: 11th only. L: 12th only

A long bar is freedom. G can be done anywhere from 3rd to 10th, so it is the element you use to fill a station. A, K and L have one cell each: they cannot move.

A, K and L are fixed: first, second to last and last. Fitting the chuck (G) is the free agent. It needs only the gearbox and is needed only by the test, so it can be done anywhere from third to tenth. Fitting the worklight (H) is nearly as loose. When a station is a few seconds short of full, G and H are the elements you reach for.

Twelve elements can be put in 479,001,600 different orders. The 16 arrows leave 619 that respect the product. That is the size of the problem a balance has to search, and it is why the diagram comes first.

The precedence matrix: the same information as a table

A precedence matrix holds the diagram in rows and columns. List the elements down the side and across the top. Put a 1 in a cell when the row element is an immediate predecessor of the column element, and leave it empty otherwise. Thomas Hoffmann built a balancing method on this matrix in 1963, and it is still how software stores precedence.

The drill line as a precedence matrix

Example numbers
A1111
B11
C11
D1
E1
F1
G1
H1
I1
J1
K1
L
In011212113121
  • 1 = immediate predecessor (16)
  • Implied through a chain (32)
  • In = immediate predecessors of that column

A 12 by 12 table. A 1 marks that the row element is an immediate predecessor of the column element: 16 cells in all. Dots mark the 32 indirect relations. The bottom row counts each element's immediate predecessors: A 0, B 1, C 1, D 2, E 1, F 2, G 1, H 1, I 3, J 1, K 2, L 1.

Read along a row to see what waits on an element, and down a column to see what it needs. Every mark is above the diagonal, which is the quick check that the lettering follows the build.
  • A column's total is the number of immediate predecessors of that element. A column with no marks is an element you can start with.
  • A row's total is the number of elements waiting directly on it. A row with no marks is a last element.
  • If the elements are lettered so that every predecessor comes earlier in the alphabet, every mark sits above the diagonal. A mark below the diagonal means a loop or a labelling slip.
  • Fill in the indirect relations as well (B before I, through D) and you get the full list of ordered pairs. On the drill line that is 16 direct and 32 indirect: 48 of the 66 possible pairs. The other 18 pairs can go in either order.

Use the diagram to think and to explain, and the matrix to check and to compute. For a line of 12 elements the picture is easier to read. For 60 elements the picture is a plate of spaghetti and the matrix, in a spreadsheet, is the only thing you can audit.

How the diagram limits a line balance

Balancing a line means grouping elements into stations so that no station takes longer than takt time and the loads are close to equal. The precedence diagram adds one rule: no arrow may point backward. Every element's predecessors must be in the same station or an earlier one.

  • It decides what is available. When you fill a station, the only candidates are elements whose predecessors are already assigned. At the start of the drill line that is A alone. After A it is B, C, E and H.
  • It gives the priority rules their numbers. An element's positional weight is its own time plus the time of everything that follows it on the diagram. D's is 32 + 6 + 34 + 22 + 13 = 107 seconds.
  • It sets a floor on what a balance can do. A chain of long elements that must follow each other cannot be spread sideways, however many people you add.
  • It is where real-world limits get written down. Elements that must share a station (same fixture) or must not (clean work beside greasy work) are noted beside the arrows.

A grouping can add up and still be impossible. At a 50 second takt, stations of 46, 48, 50, 34 and 35 seconds look like a tidy five-station line. But if the second station holds the motor lead wiring (D) and the trigger switch (C) is in the third, the line cannot be built: the leads would be connected to a switch that is not there yet. The diagram catches that in a glance. The line balancing guide takes this same drill line from six stations to five with two hand methods, and a yamazumi chart shows the result against takt.

Two five-station groupings of the same 213 seconds

Example numbers

Adds up, cannot be built

Station times: 46, 48, 50, 34, 35 s against a 50 s takt. The arrow from C to D runs from station 3 back to station 2.

Adds up, cannot be builtStations: station 1 holds A, B, G; station 2 holds D, H; station 3 holds C, E, F, I; station 4 holds J; station 5 holds K, L. The arrow from C to D runs from station 3 back to station 2.AS1BS1CS3DS2ES3FS3GS1HS2IS3JS4KS5LS5

Adds up and respects every arrow

Station times: 46, 46, 46, 40, 35 s against a 50 s takt. Each element's predecessors are in the same station or an earlier one.

Adds up and respects every arrowStations: station 1 holds A, C, E, H; station 2 holds B, F; station 3 holds D, G; station 4 holds I, J; station 5 holds K, L. Each element's predecessors are in the same station or an earlier one.AS1BS2CS1DS3ES1FS2GS3HS1IS4JS4KS5LS5

The first grouping has station times of 46, 48, 50, 34 and 35 seconds but puts D in station 2 and its predecessor C in station 3, so the arrow from C to D points backward and the line cannot be built. The second has 46, 46, 46, 40 and 35 seconds and every arrow points to the same station or a later one.

S1 to S5 is the station each element is assigned to, with even stations shaded. Both groupings fit takt on a spreadsheet. Only the diagram shows that the first one asks station 2 to wire leads to a switch that station 3 has not fitted yet.

Software reads the same diagram. LeanSuite's Line Balancing times each operator's elements from a video of the line and lets you drag an element to another operator to see the loads redraw. The precedence rules are still yours to supply and to check.

Precedence diagrams in project scheduling

Project planners use the same drawing under the name precedence diagramming method, or PDM. Activities are boxes, arrows are dependencies, and the schedule is worked out from the durations with the critical path method. If you came here from a project management course, the node-and-arrow logic above is the same. Two things differ.

The four dependency types in the precedence diagramming method (PMBOK Guide)
TypeMeaningExample
Finish to start (FS)B cannot start until A finishes. By far the most commonPour the foundation, then build the wall
Start to start (SS)B cannot start until A startsStart leveling the concrete once pouring has started
Finish to finish (FF)B cannot finish until A finishesTesting cannot finish until the last fix is finished
Start to finish (SF)B cannot finish until A starts. RareThe old system cannot be switched off until the new one is running

The four dependency types, drawn on a time line

FS Finish to start

A
B

SS Start to start

A
B

FF Finish to finish

A
B

SF Start to finish

A
B

Finish to start: B starts when A finishes. Start to start: B starts when A starts. Finish to finish: B finishes when A finishes. Start to finish: B finishes when A starts.

Time runs left to right and the dashed line is the moment that ties the two activities together. Assembly precedence diagrams use only the first type.

First, an assembly diagram uses only finish to start. Second, the questions are different. A project asks how long the whole thing takes, so the longest chain through the diagram, the critical path, is the answer. A line asks how to share the work among stations that all run at once, so the total of the times and the freedom to regroup matter more than the longest chain.

Common mistakes

  • Drawing today's sequence as if it were required. If every element has exactly one arrow in and one out, you have drawn a list. Challenge each arrow.
  • Drawing every upstream element as a predecessor. Only immediate ones get an arrow. The rest are implied.
  • Elements that are too big. "Fit and wire the switch" hides an arrow inside it and cannot be split across stations later. Break it where the work could be handed over.
  • Leaving off the times, or mixing units. The diagram feeds a sum. Put every time on it in the same unit.
  • Forgetting what is not precedence. Fixed machines, skills, the side of the product an element is done from: these limit a balance too, and they do not show as arrows. Note them beside the diagram.
  • Never redrawing it. An engineering change that adds a clip or moves a connector changes the arrows. Update the diagram with the product, or the next rebalance starts from a wrong map.

One limit to be honest about: the diagram only knows what you tell it. It cannot show that two elements are awkward to do together, that one operator is not certified for the test, or that a station has no room for another bin. It is the starting map for a balance, and the people who do the job supply the rest.

Tools and templates

FAQ

Questions about precedence diagram

  1. A precedence diagram is a drawing of the order a job must be done in. Each work element is a circle, and an arrow from one circle to another means the first must be finished before the second can start. It separates the order the product forces from the order that is only habit, and it is the input to line balancing.

  2. List the work elements with their times and the immediate predecessors of each. Draw the elements with no predecessor on the left. Place every other element one column to the right of its latest predecessor. Draw one arrow from each immediate predecessor, remove arrows that a chain already implies, and write the time beside each circle. Then check it with the people who do the job.

  3. An immediate predecessor is an element that must be finished directly before another can start, with no other required element in between. If the motor must be fitted before the leads are connected, and the leads before the housing is closed, the motor is an immediate predecessor of the leads but not of the housing.

  4. A precedence matrix is the precedence diagram written as a table. Elements are listed down the side and across the top, and a 1 in a cell means the row element must come immediately before the column element. Column totals give each element's number of predecessors. It is easier to check and to compute with than a drawing once a job has many elements.

  5. Line balancing groups work elements into stations, and an element can only go in a station if everything it depends on is in that station or an earlier one. The precedence diagram is the record of those dependencies. Without it a balance can add up to takt time on paper and be impossible to build.

  6. The precedence diagramming method, or PDM, draws project activities as boxes joined by arrows that show dependencies. It allows four types: finish to start, start to start, finish to finish and start to finish. With activity durations added, the critical path method finds the longest chain and the project's end date. Assembly precedence diagrams use only finish to start.

Or browse the topics, the full library and the lean glossary.

Rather see it on your own problem?

Bring the problem you are stuck on, and we will show you on a call how LeanSuite handles it.

Pass it on

We want LeanSuite to be the best place on the internet for lean help. If this was useful, send it to someone on your team or in your network who needs it.