Converting UML/CSV diagram to Draw.io file

I have datasets that could be converted into topologies. The task is to create and export draw.io files from these data sets

I found an article on the draw.io website (https://www.drawio.com/blog/diagrams-from-code) about generating diagrams from code, but this is not at all what I expect. I’m looking for some tool (in js/nodejs/python/or whatever) that will accept data in any format (json, csv, uml and others) and generate a draw.io file.