tbls icon indicating copy to clipboard operation
tbls copied to clipboard

text overlay issue in the generated images

Open chenrui333 opened this issue 3 years ago • 1 comments

What happened

The generated image (png or svg) have the text overlay problems

image

What you expected to happened

the layout should be better

What stack trace or error message from tbls did you see?

no errors

Anything else we need to know?

Environment

  • tbls version 1.50.0 (latest)
  • Database version: mysql
  • OS ( Ubuntu bionic, macOS Calalina, WSL2, etc ): macOS
  • Shell ( bash, zsh, poworshell, etc ): bash
  • Stacktrace or error message from tbls ( If you can, set DEBUG=1)
  • Config ( .tbls.yml )
# .tbls.yml

# DSN (Database Source Name) to connect database
dsn: my://root:@localhost:3306/test

# Path to generate document
# Default is `dbdoc`
docPath: doc/schema

Run either tbls doc -t png or tbls doc


Let me know if I need to provide more details.

chenrui333 avatar Oct 06 '21 07:10 chenrui333

It was also (partly) brought up in #359 and I believe it can be fixed by setting er.hideDef: true as of #417

Not totally related, but maybe it'd be help to someone who comes after

nugmanoff avatar Sep 12 '23 06:09 nugmanoff