Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • airGRiwrm airGRiwrm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • IN-WOP
  • airGRiwrmairGRiwrm
  • Issues
  • #150
Closed
Open
Issue created Apr 06, 2024 by Dorchies David@david.dorchiesOwner

plot.GRiwrm: use web service instead of DiagrammeR::mermaid

3 caveats are driving this change request:

  • DiagrammeR::mermaid produces a HTML widget which is very hard to render in PDF (https://bookdown.org/yihui/rmarkdown-cookbook/html-widgets.html)
  • DiagrammeR implementation of mermaid is old and bugged and there are no clean solution yet for updating it (https://github.com/rich-iannone/DiagrammeR/issues/475)
  • DiagrammeR has to much dependencies for just using mermaid

I propose to use the solution adopted in fairify (https://forgemia.inra.fr/umr-g-eau/fairify/-/blob/main/R/mermaid.R?ref_type=heads) which use the service provided by https://mermaid.live with a fall back to DiagrammeR::mermaid if the web service is unavailable.

Assignee
Assign to
Time tracking