drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

CLI CSV Import Option/Feature

Open exwhyz opened this issue 4 years ago • 2 comments

It would be a great CLI feature to add a CsvImport option that will allow direct rendering from the CLI without opening the draw.io GUI and manually entering the CSV using the Arrange > Insert > Advanced > CSV. Something along these lines:

$ draw.io -CsvImport <MY_CSV_FILENAME.csv> -c <MY_CLI_GRAPH.drawio> -o <MY_GRAPH.jpg>

exwhyz avatar May 19 '21 14:05 exwhyz

or REST controller

userstan avatar May 20 '21 15:05 userstan

Agree! I'm trying to figure out the best way to maintain and update a diagram that is based on database info. Currently, in visio it is linked to a database and I hit refresh. I would like to switch to draw.io but seems like the only was to achieve similar result is to generate a csv for the data, append to the header info, and the copy and paste through the GUI each time I want to refresh. If there was a CLI I could just have a script run on a cron job and always be updated.

Maybe there is another solution I'm not aware of?

sailhobie avatar May 30 '21 14:05 sailhobie

Upvote from me for this feature request. Any planned timeline for this feature?

MichaelCropper avatar Oct 25 '22 12:10 MichaelCropper

Will be added to next release Duplicate of #202

m-mohamedin avatar Nov 14 '22 21:11 m-mohamedin