Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP images option #232

Closed
wants to merge 1 commit into from
Closed

WIP images option #232

wants to merge 1 commit into from

Commits on Feb 14, 2024

  1. Support specifying image sizes

    This adds support for an images option, similar to the previous version.
    
    Sizes of images referenced by the image attribute can be specified using an "images" render option:
    
      viz.render("graph { a[image="test.png"] }", {
        images: [
          { name: "test.png", width: 300, height: 200 }
        ]
      });
    
    The property "name" is used instead of "path" to match the gvusershape functions in Graphviz.
    mdaines committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    8c155c5 View commit details
    Browse the repository at this point in the history