Open vDesign

Diagrams and workflows

DPIA decision tree

A one-page decision tree from Thistle & Crane LLP's privacy group that sends a project lead from six yes or no questions to one of three outcomes. Questions and outcomes are components, and every line is a connector bound to its boxes, so rewording or moving a question keeps the tree joined up.

Legal · A4 portrait, 1 page

A vertical decision tree with six numbered questions down the left. Solid green lines mean yes and dashed grey lines mean no, leading to three outcome boxes: not needed, screening note and full assessment.
Free. Opens in the desktop app if you have it, and in your browser if not.

How it was made

An AI agent connected to vDesign drafted it from this prompt:

A decision tree for whether a project needs a data protection impact assessment. Six questions with yes and no answers, ending in three outcomes: not needed, screening note, full assessment.

A first draft is rarely the best one. It was then refined, by asking again and by small edits:

  1. Shortened the not needed text so it fits its box.
  2. Widened the intro line so it sits on one row.
  3. Eased the title's tight tracking and enlarged the outcome text.
  4. Spaced the questions out and moved the legend down so the last box no longer crowds it.

Remix it with your assistant

With Claude, ChatGPT or another assistant connected to vDesign, paste this and finish the sentence:

Open the vDesign file at https://getv.design/library/dpia-decision-tree.vd as a new design in vDesign, then change it for me: [say what it is for, and what should be different].

Things to ask for:

  • Reword question 3 for our own risk wording.
  • Add a seventh question about children's data.
  • Make the full assessment box red.

The source

The design is a .vd file: text that you and any model can read. Sizes and positions are written as relationships, so one change moves everything that depends on it.

Show the .vd source
version 12kind designtitle "DPIA decision tree"$navy = #1b2a41$parch = #f8f4ec$yes = #2e7d32$no = #9e9e9e$notext = #5f5f5f$white = #ffffff$mid = #e9e1d0$qw = 380$qh = 84$pitch = 120$top = 218$col = 520font head = "Libre Bodoni"  fallback "Georgia, serif"  face asset=libre-bodoni-400 weight=400  face asset=libre-bodoni-700 weight=700font body = "Mukta"  fallback "system-ui, sans-serif"  face asset=mukta-400 weight=400  face asset=mukta-600 weight=600asset libre-bodoni-400 = font/woff2 hash=sha256-df5c9cc9d1ac840b95af021108deadd9a1cece00ccf16d17b52b55c7270b24b6 bytes=15624 license=OFLasset libre-bodoni-700 = font/woff2 hash=sha256-aad57a73018a5aac2d0d0aa0ff17ecf52fccfa6a3dd78953201d0c6018969c8a bytes=15556 license=OFLasset mukta-400 = font/woff2 hash=sha256-510168c767781af2e91c8c62b29baef5673b3b00445e9ab97fc2d0cdc99fd8c3 bytes=20480 license=OFLasset mukta-600 = font/woff2 hash=sha256-1e86a6af02aed7cee7e326ba92128aa3f738f1e92f17cd3726757819a420b2fe bytes=21176 license=OFLframe page x=0 y=0 w=794 h=1123 background=parch  text title x=56 y=52 w=682 h=88 font=head size=34 weight=700 lineHeight=1.2 letterSpacing=-0.2 fill=navy    "Does your project need a data protection impact assessment?"  text intro x=56 y=(@title.bottom + 10) w=682 h=24 font=body size=15 lineHeight=1.4 fill=navy    "Start at question 1 and stop at the first outcome you reach. Six questions, about two minutes."  connector head.rule x1=56 y1=(@intro.bottom + 14) x2=738 y2=(@intro.bottom + 14) stroke=navy strokeWidth=1.5  instance q1 component=q x=56 y=$top    override q.n      "1"    override q.t      "Will the project use personal data about people who can be identified?"  instance q2 component=q x=56 y=(@q1.y + $pitch)    override q.n      "2"    override q.t      "Will it make automated decisions or build profiles that significantly affect people, such as credit or hiring?"  instance q3 component=q x=56 y=(@q2.y + $pitch)    override q.n      "3"    override q.t      "Does it process special category or criminal offence data on a large scale?"  instance q4 component=q x=56 y=(@q3.y + $pitch)    override q.n      "4"    override q.t      "Will it systematically monitor people on a large scale, for example CCTV, location tracking or staff monitoring?"  instance q5 component=q x=56 y=(@q4.y + $pitch)    override q.n      "5"    override q.t      "Does it use new technology, or combine datasets from different sources?"  instance q6 component=q x=56 y=(@q5.y + $pitch)    override q.n      "6"    override q.t      "Does it change how an existing system uses personal data, with a new purpose or new recipients?"  instance o1 component=out x=$col y=@q1.y w=218 h=$qh    override out.bg fill=white stroke=no    override out.t fill=navy      "Not needed"    override out.d fill=navy      "Log it in the project file."  instance o2 component=out x=$col y=@q2.y w=218 h=(@q4.bottom - @q2.y)    override out.bg fill=navy stroke=navy    override out.t fill=white      "Full assessment"    override out.d fill=white      "Complete a DPIA before work starts. The privacy group reviews it and signs it off. Do not begin processing until it does."  instance o3 component=out x=$col y=@q5.y w=218 h=(@q6.bottom - @q5.y)    override out.bg fill=mid stroke=navy    override out.t fill=navy      "Screening note"    override out.d fill=navy      "Fill in the one-page screening note. The privacy group replies within 5 working days and tells you whether a full assessment follows."  instance o4 component=out x=56 y=(@q6.bottom + 40) w=$qw h=84    override out.bg fill=white stroke=no    override out.t fill=navy      "Not needed"    override out.d fill=navy      "Log it in the project file."  connector sp1 x1=@q1.cx y1=@q1.bottom x2=@q2.cx y2=@q2.top stroke=yes strokeWidth=2.5 end=arrow  text sp1.l x=(@q1.cx + 10) y=(@q1.bottom + 7) w=60 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector sp2 x1=@q2.cx y1=@q2.bottom x2=@q3.cx y2=@q3.top stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text sp2.l x=(@q2.cx + 10) y=(@q2.bottom + 7) w=60 h=22 font=body size=14 weight=600 fill=notext    "No"  connector sp3 x1=@q3.cx y1=@q3.bottom x2=@q4.cx y2=@q4.top stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text sp3.l x=(@q3.cx + 10) y=(@q3.bottom + 7) w=60 h=22 font=body size=14 weight=600 fill=notext    "No"  connector sp4 x1=@q4.cx y1=@q4.bottom x2=@q5.cx y2=@q5.top stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text sp4.l x=(@q4.cx + 10) y=(@q4.bottom + 7) w=60 h=22 font=body size=14 weight=600 fill=notext    "No"  connector sp5 x1=@q5.cx y1=@q5.bottom x2=@q6.cx y2=@q6.top stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text sp5.l x=(@q5.cx + 10) y=(@q5.bottom + 7) w=60 h=22 font=body size=14 weight=600 fill=notext    "No"  connector sp6 x1=@q6.cx y1=@q6.bottom x2=@o4.cx y2=@o4.top stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text sp6.l x=(@q6.cx + 10) y=(@q6.bottom + 11) w=60 h=22 font=body size=14 weight=600 fill=notext    "No"  connector ex1 x1=@q1.right y1=@q1.cy x2=@o1.left y2=@q1.cy stroke=no strokeWidth=2.5 dash="7 5" end=arrow  text ex1.l x=(@q1.right + 14) y=(@q1.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=notext    "No"  connector ex2 x1=@q2.right y1=@q2.cy x2=@o2.left y2=@q2.cy stroke=yes strokeWidth=2.5 end=arrow  text ex2.l x=(@q2.right + 14) y=(@q2.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector ex3 x1=@q3.right y1=@q3.cy x2=@o2.left y2=@q3.cy stroke=yes strokeWidth=2.5 end=arrow  text ex3.l x=(@q3.right + 14) y=(@q3.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector ex4 x1=@q4.right y1=@q4.cy x2=@o2.left y2=@q4.cy stroke=yes strokeWidth=2.5 end=arrow  text ex4.l x=(@q4.right + 14) y=(@q4.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector ex5 x1=@q5.right y1=@q5.cy x2=@o3.left y2=@q5.cy stroke=yes strokeWidth=2.5 end=arrow  text ex5.l x=(@q5.right + 14) y=(@q5.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector ex6 x1=@q6.right y1=@q6.cy x2=@o3.left y2=@q6.cy stroke=yes strokeWidth=2.5 end=arrow  text ex6.l x=(@q6.right + 14) y=(@q6.cy - 26) w=50 h=22 font=body size=14 weight=600 fill=yes    "Yes"  connector leg.y x1=56 y1=1070 x2=116 y2=1070 stroke=yes strokeWidth=2.5  text leg.yt x=128 y=1058 w=90 h=24 font=body size=14 fill=navy    "Yes, solid"  connector leg.n x1=240 y1=1070 x2=300 y2=1070 stroke=no strokeWidth=2.5 dash="7 5"  text leg.nt x=312 y=1058 w=90 h=24 font=body size=14 fill=navy    "No, dashed"  text foot x=420 y=1058 w=318 h=24 font=body size=14 align=right fill=notext    "Thistle & Crane LLP privacy group"frame q x=0 y=1300 w=$qw h=$qh background=white component  rect q.bg x=0 y=0 w=100% h=100% fill=white stroke=navy strokeWidth=1.5  rect q.strip x=0 y=0 w=44 h=100% fill=navy  text q.n x=0 y=0 w=44 h=100% font=head size=24 weight=700 align=center valign=middle fill=white    "1"  text q.t x=58 y=0 w=(100% - 72) h=100% font=body size=15 lineHeight=1.3 valign=middle fill=navy    "Question"frame out x=500 y=1300 w=218 h=100 background=white component  rect out.bg x=0 y=0 w=100% h=100% fill=white stroke=navy strokeWidth=2  text out.t x=16 y=12 w=(100% - 32) h=30 font=head size=21 weight=700 fill=navy    "Outcome"  text out.d x=16 y=(@out.t.bottom + 2) w=(100% - 32) h=(100% - 44) font=body size=15 lineHeight=1.3 fill=navy    "Detail"