https://github.com/b1f6c1c4/draw.io-export
Convert draw.io xml to pdf/png within command line. (diagrams.net)
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.2%) to scientific vocabulary
Keywords
Repository
Convert draw.io xml to pdf/png within command line. (diagrams.net)
Basic Info
Statistics
- Stars: 64
- Watchers: 4
- Forks: 8
- Open Issues: 1
- Releases: 5
Topics
Metadata Files
README.md
draw.io-export
Convert draw.io xml file (usually *.drawio) to pdf/png within command line.
Works nicely with make and/or latexmk. Useful if you are writing a paper or thesis with many figures.
Usage with npm
bash
npm install --global draw.io-export
drawio <source.drawio> -o <dest.pdf>
drawio <source.drawio> -o <dest.png>
drawio <source.drawio> -F <format> -o <dest>
Supported formats -F|--fmt
- If not specified, automatically detect
pngorpdf pngOnly the first page is usedpdfOnly the first page is usedcat-pdfAll pages used, concatenatedsplit-pngAll pages used, separate files with name<dest><#>.pngsplit-pdfAll pages used, separate files with name<dest><#>.pdfsplit-index-pngAlias forsplit-pngsplit-index-pdfAlias forsplit-pdfsplit-id-pngAll pages used, separate files with name<dest><diagram-id>.pngsplit-id-pdfAll pages used, separate files with name<dest><diagram-id>.pdfsplit-name-pngAll pages used, separate files with name<dest><page-name>.pngsplit-name-pdfAll pages used, separate files with name<dest><page-name>.pdf
Usage with Docker
bash
docker run --rm \
-v <your folder with .drawio files>:/files \
b1f6c1c4/draw.io-export [<fmt>]
- All above formats are supported
- If not specified, generate both
pngandcat-pdf
Owner
- Login: b1f6c1c4
- Kind: user
- Location: NJ, USA
- Company: Princeton University
- Repositories: 26
- Profile: https://github.com/b1f6c1c4
52BE D143 A92D BE96 2B83 092B 9BAC 0164 9600 1E70
GitHub Events
Total
- Watch event: 3
- Fork event: 1
Last Year
- Watch event: 3
- Fork event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 9
- Total pull requests: 17
- Average time to close issues: 7 months
- Average time to close pull requests: 6 days
- Total issue authors: 8
- Total pull request authors: 2
- Average comments per issue: 1.67
- Average comments per pull request: 0.0
- Merged pull requests: 16
- Bot issues: 0
- Bot pull requests: 16
Past Year
- Issues: 1
- Pull requests: 4
- Average time to close issues: about 18 hours
- Average time to close pull requests: 18 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 4.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 4
Top Authors
Issue Authors
- b1f6c1c4 (2)
- plusuncold (1)
- cuietviper (1)
- oharkins (1)
- CholoTook (1)
- bhomass (1)
- blaggacao (1)
- fatehks (1)
Pull Request Authors
- dependabot[bot] (19)
- davidbonnici1984 (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- 103 dependencies
- axios ^0.27.2
- lodash ^4.17.21
- pdf-merger-js ^3.4.0
- puppeteer ^14.1.2
- shelljs ^0.8.5
- yargs ^17.5.1
- node lts-alpine3.18 build