library(DiagrammeR)
DiagrammeR("graph LR;
A-->B;
B-->C;
B-->D")
library(DiagrammeR)
DiagrammeR("graph TB;
A(Rounded)-->B[Squared];
B---C{Rhombus!};
C-->D>flag shape];
C-->E((Circle));")
library(DiagrammeR)
DiagrammeR("
graph TD;
A[rect]-- add style -->A2[rect + style];
B{rhombus}---|+ some style|B2{rhombus + style};
C(rounded); D((circle));
style A2 fill:#c12,stroke-width:5px;
style B2 fill:none, stroke-dasharray:10;
")
library(DiagrammeR)
# workflow of a post graph
DiagrammeR("
graph TD;
hw{htmlwidget} -->experiments;
hw -->content;
experiments -->RMarkdown
content -->RMarkdown
RMarkdown -->|R/knitr|Markdown;
Markdown -->|Pandoc|HTML;
HTML -->|git push| Github;
HTML -->|copy/paste| Squarespace ;
")
waiting continue…
Reference
Last modified on 2018-05-08