Closed rafapereirabr closed 2 years ago
Here's my suggestion. We still need legends for diagrams, so I'm wondering if using Mermaid syntax should be more complicated than making manually.
DiagrammeR("
graph TD;
style A fill:#ffffff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
style E fill:#ffffff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
style F fill:#ffffff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
style G fill:#ffffff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
style C fill:#ffffff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
style B fill:#ffffff,stroke:#333,stroke-width:1.5px
style D fill:#ffffff,stroke:#333,stroke-width:1.5px
style H fill:#e6e6fa,stroke:#333,stroke-width:0px
style J fill:#ffffff,stroke:#333,stroke-width:0px
style I fill:#e6e6fa,stroke:#333,stroke-width:0px
style I1 fill:#e6e6fa,stroke:#333,stroke-width:0px
style I2 fill:#e6e6fa,stroke:#333,stroke-width:0px
A[gtfs.zip]-->B[transport_model];
B-->C[GPS like];
C-->D[Emission model];
E[Fleet]-->D;
F[Pollutant]-->D;
G[Emission factor model]-->D;
D-->H[Emissions output];
H---J[Post-processing];
J-->I[Gridded emissions];
J-->I1[Emissions by hour];
J-->I2[Emissions by vehicle];
")
we have an updated version in the article
There is new Mermaid syntax that can be used to create diagrem in Markdown. So I thought we could probably create a diagram illustrating the workflow of
gtfs2emis
. What do you think? here is a 1st general overview.