iamcco/markdown-preview.nvim

dot edge is not rendered correctly

Open

#387 建立於 2021年10月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (5,538 star) (246 fork)batch import
help wanted

描述

digraph {
  rankdir=LR;
  node [ shape=record ];

  struct1 [
      label = "a|b|<port1>c";
  ];
  
  struct2 [
      label = "a|{<port2>b1|b2}|c";
  ];
  
  struct1:port1 -> struct2:port2 [ label="xyz" ];
}

is rendered as following, the edge does not comes from "c" part, but from the middle of struct1

According to https://sketchviz.com/graphviz-examples, it should be rendered as this (the right part, ignore the line style)

貢獻者指南