How do you produce the following plot using the R function mermaid
from the package DiagrammeR
?
EDIT:
Let's just say we drop the labels "Input" and "Output" along with the red circles. The following is a minimal code for a start in R.
DiagrammeR::mermaid("
graph LR
a --> x
b --> y
c --> y
d --> z
classDef firstSet fill:#F8CECC
class a,b,c,d firstSet
")
whose output looks like this:
Specific questions:
- How does one make the edges straight and not folded?
- How does one include the red circles?