Graph structure / file type to BPMN file type

I’m working on analytic process that results in a(n arbitrary) graph file type,
consisting of nodes edges and attributes (attributes for nodes - what happens inside them, attributes for edges - conditions to move between the nodes) I have only functionality and no layout. my final goal is to result with a BPMN file. is there a way to leverage the modeler for for the task? if not, can it help creating some of the steps for the BPMN,as definition of tasks, gateways, sequence-flows according to the nodes edges and attributes,
or create a BPMN layout (BPMNDiagram part) if BPMN process part is provided?