更改字体大小

问题描述

我正在尝试使用美人鱼来构建流程图,我一直在尝试更改节点和箭头中的字体大小,但是我没有找到与此有关的信息。

在此先感谢您提供任何帮助。

请在下面找到代码

      library(DiagrammeR)

      mermaid("          
      graph LR;
      
      A((Or))--0.31-->B((AC))
      A((Or))--0.07-->C((qui))
      A((Or))--0.31-->D((ACS))
      A((Or))--0.31-->E((ASS))
      B((AC))--0.33-->C((qui))
      B((AC))--0.50-->D((ACS))
      B((AC))--0.16-->E((ASS))
      C((qui))--0.50-->B((AC))
      C((qui))--0.16-->D((ACS))
      C((qui))--0.33-->E((ASS))
      D((ACS))--0.08-->B((AC))
      E((ACS))--0.92-->F((Cons))
      D((ASS))--0.88-->F((Cons))
      D((ASS))--0.11-->C((qui))         
      style A fill:fff,stroke:#333,stroke-width:4px
      style B fill:fff,stroke-width:4px
      style C fill:fff,stroke-width:4px
      style D fill:fff,stroke-width:4px
      style E fill:fff,stroke-width:4px
      style F fill:fff,stroke-width:4px
      linkStyle 0 stroke-width:3.1px,fill:none,stroke:black;
      linkStyle 1 stroke-width:0.7px,stroke:black;
      linkStyle 2 stroke-width:3.1px,stroke:black;
      linkStyle 3 stroke-width:3.1px,stroke:black;
      linkStyle 4 stroke-width:3.3px,stroke:black;
      linkStyle 5 stroke-width:5px,stroke:black,stroke-dasharray:3;
      linkStyle 6 stroke-width:1.6px,stroke:black;
      linkStyle 7 stroke-width:5px,stroke:black;          
      linkStyle 8 stroke-width:1.6px,stroke:black;
      linkStyle 9 stroke-width:3.3px,stroke-dasharray:3;
      linkStyle 10 stroke-width:0.8px,stroke:black;
      linkStyle 11 stroke-width:9.2px,stroke:black;
      linkStyle 12 stroke-width:8.8px,stroke:black;
      linkStyle 13 stroke-width:1.1px,stroke-dasharray:3;          
      ")  

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)