Skip to content

Commit 29de884

Browse files
committed
doc
1 parent fb0e564 commit 29de884

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
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
810
npm 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
```

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ process.on('uncaughtException', (e) => {
1313
});
1414

1515
const { argv } = yargs
16-
.usage('$0 [mxfile] -o [target]')
16+
.usage('$0 <source.drawio> -o [target]')
1717
.option('o', {
1818
alias: 'output',
1919
demandOption: true,

0 commit comments

Comments
 (0)