Dash-bio molecule format

It appears that the 2D molecule visualizer in dash-bio actually uses Cytoscape, judging by the JSON file in the code example in the dash-bio reference. Is there a way to conveniently convert SMILES to this notation? It would not normally be an issue if it weren’t for the fact that SMILES doesn’t encode atom-to-atom distances, whereas these seem to be crucial for the dash-bio molecule visualizer.