Skip to content

How do I make resulting output sharper? #39

@Martinsos

Description

@Martinsos

Hi, thanks for this great library!

I am building the module graph with following command:

graphmod --quiet --prune-edges $PROJECT_ROOT/src/**/*.hs | dot -Gsize=20,20! -Tpng -o module-graph.png

The PNG I get as a result is looking good, with two problems however:

  1. Node names are pretty small, so zooming in is required.
  2. Resolution is not high enough to be able to read the node names clearly even after zooming in.

Therefore, I would love to:

  1. Increase the font size of nodes.
  2. Increase the resolution of the image itself.

I tried increasing dot -Gsize= to 40,40 and that helps with resolution, but I have no idea how to increase the font size. Any help is welcome!

I also tried doing dot -Nfontsize=20, but that had no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions