iamcco/markdown-preview.nvim

dot edge is not rendered correctly

Open

#387 创建于 2021年10月29日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (246 fork)batch import
help wanted

仓库指标

Star
 (5,538 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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)

贡献者指南