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- 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.
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
| Part | What it is | How it is drawn |
|---|---|---|
| Node | One work element: the smallest piece of work it makes sense to move from one station to another | A circle with the element's letter or number inside |
| Element time | How long the element takes, from a time study or an estimate | A number beside the circle, with the unit stated once |
| Arrow | A precedence relation: the element at the tail must be finished before the element at the head starts | A straight line with one arrowhead, drawn left to right |
| Immediate predecessor | An element that must come directly before this one, with nothing required in between | The elements whose arrows end at this node |
| Column | A set of elements that all become possible at the same stage of the build | Nodes 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
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
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
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
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
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
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
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 numbersSteps 3 and 4. Start with A, which needs nothing. B, C, E and H need only A, so they go one column right.
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.
Step 5. Add J, K and L, draw every arrow and count: 16 arrowheads for 16 predecessors in the table.
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.
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.
| Element | Work | Time (s) | Immediate predecessors | Column |
|---|---|---|---|---|
| A | Place left housing half in the fixture | 6 | None | 1 |
| B | Fit motor and gearbox | 26 | A | 2 |
| C | Fit trigger switch | 12 | A | 2 |
| D | Route and connect motor leads to the switch | 32 | B, C | 3 |
| E | Fit battery terminal block | 12 | A | 2 |
| F | Connect terminal leads to the switch | 20 | C, E | 3 |
| G | Fit chuck to the spindle | 14 | B | 3 |
| H | Fit worklight and lens | 16 | A | 2 |
| I | Close right housing half | 6 | D, F, H | 4 |
| J | Drive eight housing screws | 34 | I | 5 |
| K | Functional test: run, reverse, clutch | 22 | G, J | 6 |
| L | Label and pack | 13 | K | 7 |
| Total | 12 elements | 213 | 16 arrows | 7 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.
| Element | Must come before it | Must come after it | Earliest position | Latest position |
|---|---|---|---|---|
| A | 0 | 11 | 1st | 1st |
| B | 1 | 6 | 2nd | 6th |
| C | 1 | 6 | 2nd | 6th |
| D | 3 | 4 | 4th | 8th |
| E | 1 | 5 | 2nd | 7th |
| F | 3 | 4 | 4th | 8th |
| G | 2 | 2 | 3rd | 10th |
| H | 1 | 4 | 2nd | 8th |
| I | 7 | 3 | 8th | 9th |
| J | 8 | 2 | 9th | 10th |
| K | 10 | 1 | 11th | 11th |
| L | 11 | 0 | 12th | 12th |
Earliest position = elements before it + 1. Latest position = 12 minus elements after it.
How far each element can slide in the build order
Example numbersPosition 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, 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- 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.
- 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 numbersAdds 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 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.
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.
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.
| Type | Meaning | Example |
|---|---|---|
| Finish to start (FS) | B cannot start until A finishes. By far the most common | Pour the foundation, then build the wall |
| Start to start (SS) | B cannot start until A starts | Start leveling the concrete once pouring has started |
| Finish to finish (FF) | B cannot finish until A finishes | Testing cannot finish until the last fix is finished |
| Start to finish (SF) | B cannot finish until A starts. Rare | The 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
SS Start to start
FF Finish to finish
SF Start to finish
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.
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
- Line balancing calculator: station times and takt in, efficiency, idle time and minimum stations out.
- Time study sheet: record the elements and their times before you draw.
- Yamazumi and operator balance chart template: stack each station's elements against the takt line once they are grouped.
- Takt time calculator: the cycle time the stations have to fit inside.
Go deeper
This page is the short version. These guides cover each part in full.
- Yamazumi Chart: What It Is and How to Make One in 7 StepsThe stacked bar chart that shows each station's load once the elements are grouped.
- Cell Design in JIT: Flow Layout PlanningLaying out a cell so the build order the diagram allows is also short to walk.
- Takt Time in JIT: Matching Production to DemandWhere the cycle time that every station must fit inside comes from.
- Manufacturing Bottleneck Elimination: 5 Proven StrategiesWhat to do when one long element or one machine caps the line whatever the grouping.
All our articles on this subject are in the value stream mapping and flow topic.
Free templates and tools
- Time study sheetTime each element over 10 cycles and work out the average, lowest repeatable and standard time. Excel does the sums.
- Line balancing calculatorLine efficiency, balance delay and the minimum number of stations from station times and takt.
- Takt time calculatorThe pace a line must hit to meet customer demand, from shift time, breaks and daily demand.
Doing this in LeanSuite
Line Balancing
Drop in a video of your line and get a Yamazumi chart, a takt comparison and rebalancing recommendations.
See Line BalancingTime and Motion Study
Film the station and the AI times every element on a timeline that links to the video, split into value-added, necessary and waste.
See Time and Motion Study
See it on your own lines
Bring the problem you are working on to a 45-minute demo. Or look around with sample data first, or pilot LeanSuite on your own lines for 90 days, with the setup done by our team.
FAQ
Questions about precedence diagram
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.
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.
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.
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.
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.
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.
Related guides and tools
- Line balancing: this drill line balanced from six stations to five, step by step
- Yamazumi chart: each station's load drawn against takt
- Takt time: the limit every station has to fit inside
- How many operators a line needs: work content, takt, losses and the roster
- Time and motion study: where the elements and their times come from
- Standard time: the element time to write beside each node
More method guides
- The 6 Ms of production
- Poka-yoke
- Model area 90-day plans
- Moving from Excel to one system
- Reducing machine downtime: a worked month
- Andon
- Cycle time vs lead time, worked through
- Root cause analysis
- How many operators a line needs
- Reducing scrap and rework: a worked month
- Unsafe acts and unsafe conditions
- Just culture
- Stop-work authority
- Material review board (MRB)
- Nonconformance and NCRs
- Problem solving methods
- Quad chart
- OEE calculation
- Quality assurance vs quality control
- SOP meaning and format
- Job hazard analysis
- Near miss reporting
- Fishbone diagram
- Pareto chart
- Histogram
- Control chart
- What is a gemba walk
- What is lead time
- What is operational excellence
- How to improve product quality
- Preventive vs predictive maintenance
- Kanban
- FMEA
- PDSA cycle
- Safety moments
- Just-in-time manufacturing
- Kaizen
- 5S
- Total quality management (TQM)
- CAPA (corrective and preventive action)
- Layered process audit (LPA)
- Lean tools
- Lockout tagout (LOTO)
- A3 problem solving
- Preventive maintenance
- APQP
- High reliability organization (HRO)
- Manufacturing KPIs
- Quality metrics
- Practical problem solving
- CMMS
- Risk assessment
- Production efficiency
- Total productive maintenance (TPM)
- Reliability-centered maintenance (RCM)
- Hierarchy of controls
- Personal protective equipment (PPE)
- Emergency action plan
- Safety signs
- Warehouse safety
- ISO 9001
- SIPOC diagram
- Rolling action item list (RAIL)
- Pugh matrix
- Flowchart
- Project charter
- ISO 9001:2026
- Fleet maintenance
- IATF 16949
- AS9100
- ISO 14001
- ISO 45001
- One point lesson
- Standard work
- Meeting cadence
- OSHA penalties and the top 10 cited standards
- OSHA 300A summary
- SMART goals examples for manufacturing
- Year-end review for manufacturing plants
- 2027 goals for a manufacturing plant
- Lean manufacturing principles
- Toyota Production System
- 5W1H
- 5 Whys
- Continuous improvement
- Takt time
- DMAIC
- PDCA
- 8D problem solving
- Prioritization matrix
- Gemba walk questions
- 5W1H questions
- Layered process audit questions
- 5S audit questions
- Difficult conversations at work
- How to talk to an employee about poor performance
- How to resolve conflict between employees
- High performer, bad attitude
- How to get employees to follow procedures
- Resistance to change on the shop floor
- Influence without authority for CI, quality and safety people
- Quality vs production: the hold against the ship date
- Hard savings vs soft savings
- How to handle a customer quality complaint call
- 30 60 90 day plan for a manufacturing manager
- First 90 days in a new manufacturing role
- New supervisor training: the first 90 days
- Night shift supervisor
- Engineer to manager in manufacturing
- What to do after a serious workplace accident
- Disagree and commit: disagreeing with your boss in a plant
- How to deliver bad news to your boss
- How to present audit findings to management
- How to get leadership buy-in for continuous improvement
- How to ask for more headcount or resources
- How to ask for a promotion in manufacturing
- PPE compliance
- Language barriers on the shop floor
- Train the trainer in manufacturing
- Contractor safety management
- Return to work after an injury
- Attendance conversation with an employee
- Managing former peers after a promotion
- Managing older or more experienced employees
- Inheriting a team
- How to delegate as a supervisor
- Holding supervisors accountable
- How to tell employees about layoffs or a shift change
- How to deny a raise request or a promotion
- Time and motion study
- How to conduct a time study
- Standard time
- Work sampling
- SMED
- Line balancing
- Yamazumi chart
- Ergonomic assessment in manufacturing
- Spaghetti diagram
- Time study vs motion study vs method study
- Why do a time study
- How to plan a time study
- How to break a job into elements
- How many cycles to time
- Stopwatch time study
- Time study mistakes
- Time study vs work sampling
- Value added vs non value added
- Labor losses in manufacturing
- New product time study playbook
- How to estimate cycle time for a new product
- New product introduction for industrial engineers
- Process planning for a new product
- Planning operators and stations for a new line
- Pilot run and line trial
- Ramp-up plan and the learning curve
- Workstation design
- Designing a future workstation
- Time study and ergonomic study in one pass
- Predetermined motion time systems (PMTS)
- MTM (Methods-Time Measurement)
- MOST and MODAPTS
- Therbligs and motion economy
- RULA assessment
- REBA assessment
- RULA vs REBA
- NIOSH lifting equation
- Production capacity calculation
- Labor efficiency and labor variance
- Labor cost and quoting with time standards
- SMV and SAM in garment manufacturing
- From time study to standard work
- Standard work combination table
- Standard work vs SOP vs work instruction
- Standard WIP
- Updating standard work after an improvement
- Time study from video
- Time study app or software
- Man-machine chart
- Timing long-cycle and team work
- Time study in a union plant
- History of time and motion study
- Golden zone (power zone)
- Workstation assessment
- Reach envelope and work area study
- Standing, seated and sit-stand workstations
- Line-side material presentation
- Time study in automotive assembly
- Time study in electronics assembly
- Time study in CNC machining
- Time study in metal fabrication and welding
- Time study in plastics injection molding
- Time study in warehouse operations
- Time study in garment manufacturing
- Time study in maintenance work
- Time study in aerospace assembly and MRO
- Time study in food and beverage manufacturing
- Time study examples
- Historical and machine data as time standards
- Line balancing examples
- How to measure cycle time
- Manpower planning from standard time
- Bottleneck analysis from a time study
- Standard work examples
- U-cells and one-piece flow
- Flow process chart and operation process chart
- Two-handed process chart
- 3P production preparation process
- Plant layout basics
- Design for assembly
- Time study, PFMEA, control plan and work instructions
- Explaining a time study to a worried operator
- The observer effect in time studies
- Time standards and incentive pay
- Seven wastes vs eight wastes
- Job safety analysis (JSA)
- JSRA (job safety risk assessment)
- JSA vs JHA vs JSRA
- Job safety analysis from video
- HIRA (hazard identification and risk assessment)
- Management of change (MOC)
- Safe work method statement (SWMS)
- Permit to work (PTW)
- Pre-task plan (PTP)
- Field level risk assessment (FLRA)
- Safety observation
- Safety walk
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.

