reymond-group/smilesDrawer

How to fix overlapping bonds in rendered image?

Opened this issue · 0 comments

Any idea what options I can change to get this to render properly?
Here is the Smiles code
C(=O)(C(=O)[O-])[O-].C(=O)(C(=O)[O-])[O-].C(=O)(C(=O)[O-])[O-].C(=O)(C(=O)[O-])[O-].O.O.[K+].[K+].[K+].[K+].[K+].[K+].[K+].[K+]

And here is the resulting render:
image

I have tried playing around with options 'overlapSensitivity' and 'overlapResolutionIterations' to fix it, but to no avail.
Any ideas?

Here is where the smiles code is from https://pubchem.ncbi.nlm.nih.gov/compound/53249650
And here is the rendering that is shown on that page.
image