USE OF MOCODO WITHIN DATAIKU

Hello, As a data steward I setup Entity-Relationship Model (MCD in french). I use MOCODO tool for that concern. I record my Mocodo script in a Jupyter Notebook within Dataiku.
i get an svg picture with my ERM (see the file here attached).
I would like to get and save this picture in a pdf or png form.
Could someone support me?
Answers
-
dataiku version used 14.1.1
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,345 Dataiker
Hi,
The image you see should be saved in the current working directory with something like mcd.svg
If you run !ls -ltr are you able to see the svg file ?
You ma be able to specific the files > mocodo --svg-to --output=MyERD.svg
https://rawgit.com/laowantong/mocodo/master/doc/fr_refman.html
If you know the name of the file, you can convert it to PDF using the cairosvg package.
Later, you can upload this file to a managed folder or final storage location, as the notebook's current working directory is typically ephemeral, especially when running in a Container.
https://doc.dataiku.com/dss/latest/connecting/managed_folders.html
Kind Regards