How to create a diagram

with the SKEMA Quantum Studio framework

Anne Sophie Gill (SKEMA Global Lab in AI) , Thierry Warin (SKEMA Business School (Raleigh, NC))

Using the SKEMA Quantum Studio(Warin 2019) framework, we are going to teach you how to create a diagram like the one above.

Open the following packages


Create your diagram

DiagrammeR::grViz("digraph graph2 

# Choose the layout of your graph

{graph [layout = dot] 

# Customize your nodes

node [shape = rectangle, width = 1, style = filled, color = grey]

node [fillcolor = plum]

node [fillcolor = azure]
b c d

node [fillcolor = GreenYellow]
h i

node [fillcolor = gold]
s t u v

node [fillcolor = mistyrose]
k l

node [fillcolor = navajowhite]

node [fillcolor = lavender]

node [fillcolor = paleturquoise]
e f

node [fillcolor = honeydew]
n o p

node [fillcolor = seashell]
q r

node [fillcolor = yellow]

# Assign a label to each node

a [label = 'Data Science']
b [label = 'Big Data']
c [label = 'Algorithms']
d [label = 'Stats']
e [label = 'Econometrics']
f [label = 'Bayesian Statistics']
g [label = 'AI']
h [label = 'Structured']
i [label = 'Unstructured']
j [label = 'Domains']
k [label = 'Augmented Intelligence']
l [label = 'Automated Intelligence']
m [label = 'engineering']
n [label = 'social sciences']
o [label = 'management']
p [label = 'decision theory']
q [label = 'data frames']
r [label = 'tables']
s [label = 'text']
t [label = 'images']
u [label = 'sounds']
v [label = 'videos']

# Assign a path to each node

a -> b
a -> c
a -> d
b -> h
b -> i
c -> g
d -> e
d -> f
g -> j
j -> k
j -> l
k -> n
k -> o
k -> p
l -> m
i -> s
i -> t
i -> u
i -> v
h -> q
h -> r



And this is how you build a diagram with the help of the SKEMA Quantum Studio (Warin 2019) framework.

For more information about the diagrammeR package, click here

Follow SKEMA Global Lab in Augmented Intelligence

Warin, Thierry. 2019. “SKEMA Quantum Studio: A Technological Framework for Data Science in Higher Education.”


For attribution, please cite this work as

Gill & Warin (2020, Jan. 30). Blog: How to create a diagram. Retrieved from

BibTeX citation

  author = {Gill, Anne Sophie and Warin, Thierry},
  title = {Blog: How to create a diagram},
  url = {},
  year = {2020}