Можно ли использовать произвольные формы с Diagrammer? Я безуспешно пытался установить путь 'img/figure.png'
вместо box
.
DiagrammeR::grViz("
digraph reprex {
# a 'graph' statement
graph [overlap = true, fontsize = 10]
# several 'node' statements
node [shape = box, # could be 'img/image.png'? ###########################
fontname = Helvetica]
A; B; C; D; E; F
node [shape = circle,
fixedsize = true,
width = 0.9] // sets as circles
1; 2; 3; 4; 5; 6; 7; 8
# several 'edge' statements
A->1 B->2 B->3 B->4 C->A
1->D E->A 2->4 1->5 1->F
E->6 4->6 5->7 6->7 3->8
}
")
Created on 2020-07-10 by the пакет реплекс (v0.3.0)