How do you specify edgeLength for each edge using Dash Cytoscape in Python


I’m currently working on the visualization of certain paper clusters. one of my requirements is to show the similarity of the papers using the distance of the edge between two nodes. The similarity scores have already been calculated. However, I can’t really find how to customize the edge length between nodes with Dash Cytoscape in Python. Since my whole project is in python and I’m not familiar with Js. It would be great if anyone know how to implement this in Python. Many thanks in advance!