Reputation: 29
I am trying to find a way to create flowchart with different type connectors using DiagrammeR package. This is the output I would like to get.
Below is the code I have presently:
library(DiagrammeR)
DiagrammeR("graph TB;
A-->B;
A---C;
A---D;
B-->E;
B---F
")
Upvotes: 0
Views: 340
Reputation: 397
Check out this webpage: https://github.com/mermaidjs/mermaid-gitbook/blob/master/content/flowchart.md. To create the dashed line between C and D use the following code:
library(DiagrammeR)
DiagrammeR("graph TB;
A-->B;
A---C;
A---D;
B-->E;
B---F;
C-.->D")
Upvotes: -1