wallento / wavedrompy

WaveDrom compatible python command line
Other
97 stars 23 forks source link

Bottom of Group Bracket is Not Rendered #10

Closed MutantPlatypus closed 5 years ago

MutantPlatypus commented 5 years ago

The bottom curve of the bracket for a group is not rendered.

svg = wavedrom.render("""
{ "signal": [
  {   "name": "clk",    "wave": "p..Pp..P"},
  ["Master",
    ["ctrl",
      {"name": "write", "wave": "01.0...."},
      {"name": "read",  "wave": "0...1..0"}
    ],
    {  "name": "addr",  "wave": "x3.x4..x", "data": "A1 A2"},
    {  "name": "wdata", "wave": "x3.x....", "data": "D1"   }
  ],
  {},
  ["Slave",
    ["ctrl",
      {"name": "ack",   "wave": "x01x0.1x"}
    ],
    {  "name": "rdata", "wave": "x.....4x", "data": "Q2"}
  ]
]}
""")

svg.saveas('demo1.svg')

Gives

image

Where WaveDrom Editor renders it ok: image

Tested on both 1.8.0post4 and 1.8.0.post5.dev4+gc5e792a

wallento commented 5 years ago

Thanks for reporting! Will fix it tomorrow, I hope.

wallento commented 5 years ago

Fixed in f783fcd

Thanks again for reporting!