Your Training Partner
Techniques Toolbox
Two plans of the same floor of a municipal administration at the same scale. On the left, the current state: the batch of invoices goes from the mail room to accounting. From accounting it then makes three round trips to the copier-scanner, the head of technical services and finance. These three points lie in the far half of the corridor. The batch ends in the archives. Six lines overlap in the corridor between accounting and finance. Total: 198 m per batch. On the right, the proposed state: the scanner stands in accounting. Finance occupies the room next door. Only the round trip to technical services still runs along the corridor beyond finance. Total: 118 m per batch.

Spaghetti Diagram

The spaghetti diagram traces on a floor plan the actual path of a product, a document or a person through a process. The term spaghetti chart comes from the Lean Enterprise Institute (LEI). The method of recording and measuring comes from the work study manual of the International Labour Organization (ILO). The length of the line gives the distance travelled. Overlapping lines show the most frequent trips. The diagram measures two of the eight wastes: transport and unnecessary movement.

Goal

The spaghetti diagram puts a figure in metres on the movement that the layout of a site imposes on an object or a person. According to the LEI, the name comes from the look of the line: in mass production the product's route often resembles a plate of spaghetti.

A process model shows the planned sequence of steps. It says neither where the workstations are nor how many metres separate them. The diagram adds the geometry: the length of each trip, the round trips, the segments walked ten times a day.

The diagram supports a decision on layout or sequence: move a workstation, bring two steps closer together, change the order of tasks. The deliverable comprises the current-state plan, a log of the trips with their distances and the proposed-state plan. This second plan follows the same log at the same scale and states the distance saved.

Usage

When to use it

  • A file or a product that changes rooms: the route crosses several offices, floors or buildings and nobody knows its length.
  • A move or a refit: compare layouts on the plan before the first piece of furniture moves.
  • Round trips noted during a gemba walk: the diagram measures in metres the round trips that the walk observed.
  • A survey of the eight wastes: measure transport and unnecessary movement instead of estimating them.
  • A person who serves several points: a storeroom, a kitchen, an inspection laboratory, an operator who runs several machines. The ILO cites these situations.
  • A change that people must accept: a plan before and a plan after make the difference visible to management and to the team.

When not to use it

  • Fully digital work: there is no trip to draw; process mining reads the route of the file in the system logs.
  • Lead time dominated by waiting: the line does not show time; measure the queues with value stream mapping.
  • Many trips between many points: the lines blur into one another; the ILO then recommends the travel chart.

Description

The LEI spaghetti chart and the ILO diagrams

The LEI defines the spaghetti chart as the path that a product takes through the steps of a value stream.

The ILO manual Introduction to Work Study (Kanawaty, 1992) places the drawing on a plan within method study. Method study records the facts, examines them critically and then develops an improved method. Among the diagrams indicating movement, the manual lists the flow diagram, the string diagram and the travel chart. These diagrams follow workers, materials or equipment. To follow a person or a document, the analyst therefore relies on the ILO method.

The process chart comes from Frank and Lillian Gilbreth, who founded motion study. In 1921 they presented it to the American Society of Mechanical Engineers (ASME) as "a device for visualizing a process as a means of improving it". Their chart has a symbol for transport. Their example follows a document: an order for blank forms. The chart records the delays of the messenger.

FormWhat it followsScaleWhat it measuresSource
Spaghetti chartThe product along the value streamNot specifiedThe path and its detoursLEI
Flow diagramWorkers, materials or equipment; each activity of the flow process chart appears on the diagram as its symbolApproximateThe path and the location of each activityILO (chapter 7)
String diagramMostly workers, sometimes materials or equipmentExactThe distance travelled, from the length of the threadILO (chapter 8)
Travel chartThe same, without a planNone: a grid of starting points and points of arrivalThe number of trips between each pair of pointsILO (chapter 8)
The LEI spaghetti chart and the ILO diagrams indicating movement: what each one follows, its scale and what it measures.

For materials a flow diagram is usually enough and takes less time to prepare than a string diagram. In practice the name "spaghetti diagram" covers both forms drawn on a plan.

What the line measures

Among the eight wastes, the line of an object measures transport: the part, the parcel or the file moves. The line of a person measures unnecessary movement: the person walks to the printer, fetches a binder, comes back to ask for a signature.

The total length gives the distance per cycle. The number of lines on a segment gives its frequency: the ILO notes that the paths walked most often carry the greatest number of strings. Repeated round trips between a workstation and a distant point show that the point is in the wrong place. A return to a point already left, with no reason for it, shows a task order that does not follow the layout.

The line shows neither time nor cause. A two-day wait outside an office does not add a centimetre to the line. The ILO therefore pairs the diagram with the flow process chart. This chart records each activity in order: operation, inspection, transport, delay, storage. According to the ILO, the diagram shows movement more clearly than the chart. In its example on receiving aircraft parts, the diagram reveals a long and roundabout path that the chart alone did not show. The chart summarises the activities in a way that the diagram does not allow.

Drawing the diagram

  1. Decide what to follow. One object (a file, a batch, a trolley) or one person over a defined sequence: an invoice from its arrival to its filing or the morning round of a storekeeper. An object and a person make two lines.
  2. Record on site. The analyst follows the object or the person and notes each stop in order. On a long trip the analyst also notes the time of departure and the time of arrival. The analyst codes the points with letters or numbers to keep the notes short. The ILO movement study sheet carries the columns time of departure, time of arrival, time elapsed, move to and notes.
  3. Observe for long enough. A few hours, a day or longer: the analyst must see each trip often enough to know its frequency. The analyst then goes through the log with the person observed. That person points out the actions they usually perform that the analyst did not see.
  4. Draw the plan to scale. It shows the workstations, the furniture, the stocks and every stopping point. It also shows the doors, pillars and partitions that divert the paths. The CAD plan from the buildings department gives the scale. On an evacuation plan the analyst checks the dimensions with a laser distance meter.
  5. Draw and measure. One line per trip, in the order of the log, through the points every path must pass: doors, corridor corners. One colour per person or per object. According to the ILO manual, the analyst leads a thread around pins driven in at each stop: the length of thread gives the distance to scale. Drawing software gives the length of a polyline. A laser distance meter checks the distances on site.
  6. Read the line. Find the segments crowded with lines, the returns to the same point and the long trips between two consecutive steps. Multiply the distance per cycle by the number of cycles per day or per year. Convert the distance into time with a walking speed that the analyst chooses and notes in the log, for example 1 m/s.
  7. Examine and propose. The ILO questions each activity in a fixed order: purpose, place, sequence, person and means. For a long or repeated trip the analyst asks why the two points are far apart and whether they could sit side by side. On the plan the analyst moves each workstation that nothing holds in place. The fixed points stay where they are: a water supply, a fire door, a department that is not moving.
  8. Redraw and compare. The analyst redraws the same log on the new plan from the same starting point and in the same order. The difference in length is the distance saved. The ILO repeats the trial until it reaches the layout that uses the least thread. In its tile-storage example the new arrangement of the bins cuts the distance from 520 m to 340 m: 35% less.
  9. Present both plans. Side by side, at the same scale. According to the ILO, the contrast helps management, supervisors and workers accept the change. The people observed discover how far they walk.

Pitfalls

Drawing the planned path. A line drawn from memory or from the procedure reproduces the process model. The detours appear only under observation: the photocopier that has broken down, the signature fetched twice.

Comparing two lines that do not follow the same log. If the starting point, the order of the stops or the period observed changes between before and after, the difference in length no longer measures the layout.

Reading length as time. A short trip can come just before the longest wait on the route. The flow process chart or value stream mapping measures that wait.

Shortening one person's trip at another's expense. Moving the printer closer to the accountant may move it away from the secretariat. The analyst draws each person in their own colour. The sum of everyone's distances gives the net gain.

Studying the person instead of the layout. The log follows someone for hours. The analyst announces the study and explains that it concerns the premises. The analyst goes through the log with the person observed.

Keeping a line nobody can read. The ILO notes that when many movements follow complex paths, the diagram may end up looking like "a forbidding maze of criss-crossing lines". The travel chart then counts the trips in a square grid: the starting points in columns, the points of arrival in rows. The ILO example follows a messenger who delivers papers to the ten workstations of an office.

Boundaries with neighbouring techniques

Workplace layout analysis examines the whole layout of a site: the workstations, the fixed points and the wastes that the layout imposes. The spaghetti diagram is its recording instrument.

The gemba walk observes the work on site and questions the people who do it. It spots the round trips. The diagram measures them.

Value stream mapping measures the processing time and the waiting at each step of a value stream. The diagram measures the distance between these steps.

AI considerations

An assistant writes up the log. It transcribes handwritten or spoken notes into a list of trips with one starting point and one point of arrival per line. The analyst checks each line against the notes: an added or merged trip distorts the distance.

From the distances and the number of trips between each pair of points, a solver or an assistant computes the total distance of several layouts. It proposes those that bring the most connected points closer together. It knows only the points and the distances it receives. The fire door, the discretion that a counter needs and the department that is not moving remain the analyst's concern.

A vision model reads the photo of an annotated plan and extracts the segments. It often confuses overlapping lines, which mark the most frequent trips. The analyst counts the crowded segments again.

Location badges, the wireless network and cameras record trips without an observer present. They track people. Art. 26 of Ordinance 3 to the Employment Act (OLT 3) prohibits surveillance or monitoring systems intended to monitor the behaviour of workers at their workplace. Its para. 2 requires that a system needed for other reasons be designed and arranged so that it preserves their health and their freedom of movement. The analyst follows the object (a trolley, a marked batch) or observes the people in person after informing them. The recorded trips of an identifiable person are personal data within the meaning of art. 5 let. a of the Federal Act on Data Protection (FADP).

Examples

The administration of a municipality in the canton of Vaud follows the daily batch of supplier invoices from the mail room to the archives. The accountant carries the batch from one step to the next.

Spaghetti diagram of a batch of invoices
The same log on the current plan and on the proposed plan
Current state · 198 m per batch
Current state · 198 m per batchF ArchivesMeetingroomE FinanceC Copier-scannerA Mail roomB AccountingD Technicalservices12345678
  • 118 m
  • 226 m
  • 326 m
  • 434 m
  • 534 m
  • 622 m
  • 722 m
  • 816 m
Proposed state · 118 m per batch
Proposed state · 118 m per batchF ArchivesE FinanceMeetingroomA Mail roomB Accounting + scannerD Technicalservices145678
  • 118 m
  • 20 m
  • 30 m
  • 434 m
  • 534 m
  • 68 m
  • 78 m
  • 816 m
starttrip numberfixed point
Spaghetti diagram of the daily batch of supplier invoices in the administration of a municipality. On the left, the current state: 198 m per batch and six overlapping lines between accounting and finance. On the right, the proposed state: 118 m. The scanner stands in accounting. Finance occupies the room next door. Technical services stays where it is.
No.FromToPurposeBefore (m)After (m)
1A Mail roomB AccountingArrival of the batch1818
2B AccountingC Copier-scannerScanning260
3C Copier-scannerB AccountingReturn260
4B AccountingD Technical servicesApproval by the head of department3434
5D Technical servicesB AccountingReturn3434
6B AccountingE FinanceApproval for payment228
7E FinanceB AccountingReturn228
8B AccountingF ArchivesFiling1616
Total per batch198118
Log of the trips made by the daily batch of invoices from its arrival in the mail room to its filing in the archives. Distance of each trip before and after the refit: 198 m per batch before, 118 m after.

On the current plan six lines overlap in the corridor between accounting and finance. On the proposed plan two remain beyond finance. Both plans follow the same log: the same points in the same order. The scanner installed in accounting removes trips 2 and 3. Finance takes over the meeting room next to accounting. The meeting room moves into the former finance office. Trips 4 and 5 remain because technical services is not moving. Over 250 working days the batch travels 29.5 km instead of 49.5 km. At 1 m/s the 80 m saved per batch come to 80 seconds, that is about 5.6 hours a year.

Visualisations

The two plans of the invoice batch show the same log at the same scale before and after the refit. The table of forms places the LEI spaghetti chart among the ILO diagrams indicating movement. The trip log gives the distance of each trip and the total per batch.

Cost

PhaseLevelJustification
PreparationLowChoosing the object or the person to follow, obtaining a scale plan from the buildings department, announcing the study to the staff.
ExecutionMediumA few hours to a day of observation for each person or object followed, then drawing and measuring each trip.
DocumentationLowTwo plans at the same scale and a log of the trips with their distances.

Tools

A printed scale plan, coloured pencils and a clipboard are enough for the recording. A laser distance meter or a measuring wheel checks the distances when the plan carries no dimensions.

A spreadsheet holds the trip log and totals the distances. It also holds the travel chart when the points multiply. Drawing software such as Visio or diagrams.net produces a clean plan and measures the length of the polylines.

For a route that is partly digital, a process mining tool reads the steps of the file in the system logs. It sees no physical trip.

Sources

The term comes from lean. The method of recording and measuring comes from work study.

  • Lean Enterprise Institute, Spaghetti Chart, Lean Lexicon: the definition of the diagram for the product along the value stream and the origin of its name.
  • Kanawaty, George (ed.) (1992), Introduction to Work Study, fourth (revised) edition, International Labour Office, Geneva. Chapter 7 "Record, examine, develop": method study, the diagrams indicating movement and the flow diagram paired with the flow process chart. Chapter 8 "Movement of workers in the working area": the string diagram with its procedure and its measurement, the tile-storage example and the travel chart.
  • Gilbreth, Frank B. and Gilbreth, Lillian M. (1921), Process Charts, American Society of Mechanical Engineers: the process chart with its transport symbol and its example of the route of a document.
  • Swiss Confederation, Ordinance 3 to the Employment Act (OLT 3), SR 822.113, art. 26: in para. 1 the prohibition of systems intended to monitor the behaviour of workers at their workplace; in para. 2 the requirements for systems needed for other reasons.
  • Swiss Confederation, Federal Act on Data Protection (FADP), SR 235.1, art. 5 let. a: the recorded trips of an identifiable person as personal data.
Social Network Webbing
All techniques
Special purpose records