Skip to content

look handDrawn does not work for packet #7058

@luizalex

Description

@luizalex

Describe the bug
Setting config file with look=handDrawn does not reflect on output image.

To Reproduce
mmdc -i pck.mmd -o pck.png -c mermaid.cfg.json

mermaid.cfg.json

{
  "theme": "forest",
  "look": "handDrawn",
  "htmlLabels": true,
  "logLevel": "info",
  "packet" : {
     "bitsPerRow": 32,
     "bitWidth": 64
  }
}

pck.mmd

---
title: "TCP Packet"
---
packet
0-15: "Source Port"
16-31: "Destination Port"
32-63: "Sequence Number"
64-95: "Acknowledgment Number"
96-99: "Data Offset"
100-105: "Reserved"
106: "URG"
107: "ACK"
108: "PSH"
109: "RST"
110: "SYN"
111: "FIN"
112-127: "Window"
128-143: "Checksum"
144-159: "Urgent Pointer"
160-191: "(Options and Padding)"
192-255: "Data (variable length)"

Expected behavior
Packet image with hand drawn style.

But, normal packet image is produced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions