Skip to content

Mermaid output: improve display of long comments #32

@dhimmel

Description

@dhimmel

Excellent utility! I learned about it in Terraform in Depth book.

We set Column.comment on our SQLAlchemy columns.

These get added to the mermaid flowchart by

if column.comment:
options.append(column.comment)

And output, when comments are long, is like:

Image

I wonder if there are easy to address the legibility and aspect ratio issue of these long comments, like:

  • option to disable the comment column
  • using a markdown string for comments to enable word wrap

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions