File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11# draw.io-export
22
3- Convert draw.io xml to pdf/png within command line.
3+ Convert [ draw.io] ( https://app.diagrams.net/ ) xml file (usually ` *.drawio ` ) to ` pdf ` /` png ` within command line.
4+
5+ Works nicely with ` make ` and/or ` latexmk ` . Useful if you are writing a paper or thesis with many figures.
46
57## Usage
68
79``` bash
810npm install --global draw.io-export
9- drawio < source.xml > -o < dest.pdf>
10- drawio < source.xml > -o < dest.png>
11+ drawio < source.drawio > -o < dest.pdf>
12+ drawio < source.drawio > -o < dest.png>
1113```
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ process.on('uncaughtException', (e) => {
1313} ) ;
1414
1515const { argv } = yargs
16- . usage ( '$0 [mxfile] -o [target]' )
16+ . usage ( '$0 <source.drawio> -o [target]' )
1717 . option ( 'o' , {
1818 alias : 'output' ,
1919 demandOption : true ,
You can’t perform that action at this time.
0 commit comments