question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Configuring parameters for png export in embed mode

See original GitHub issue
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe. Some users of the Draw.io VS Code extension would love to set parameters when exporting or saving the diagram as png image. Most importantly, this includes the zoom parameter.

Describe the solution you’d like If embedded mode consumers could specify the following parameters in the export action, I could implement that feature in the Draw.io extension: 95143512-90189e80-0776-11eb-8457-a3d6e246a354

This could look like this:

{
    action: "export",
    format: "xmlpng",
    zoom: 2, // by default 1
    dark: true, // by default false
    grid: false, // by default false
    borderWidth: 0, // by default 0
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aldergcommented, Dec 9, 2020

It was already there. But yes. We’re trying to document all the options here: https://www.diagrams.net/doc/faq/embed-mode

0reactions
hedietcommented, Dec 9, 2020

So you have a scale/zoom parameter? Then I’m happy 😉 You didn’t mention it in your listing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Settings for image export - Adobe XD: Feature Requests
The issue is when we export the assets as png or jpg, we don't have advanced options like type optimization, better file compression,...
Read more >
Export Power BI embedded analytics reports API
Using bookmarks you can export the report in a specific state, including configured filters, slicers, and other settings.
Read more >
Set up image rendering | Grafana documentation
Set up image rendering. Grafana supports automatic rendering of panels as PNG images. ... Default mode will create a new browser instance on...
Read more >
Embed Code Parameters for Views - Tableau Help
Tableau Desktop and Web Authoring Help · Share Web Content · Subscribe to Views · Send Data-Driven Alerts · Comment on Views ·...
Read more >
Configuring Other Leganto UI Elements
All of these parameters are found in the Leganto Features table ... Settings) is set to true, the Current Request for Review date...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found