mobiusklein / glypy

Glycan Analysis and Glycoinformatics Library for Python
Apache License 2.0
27 stars 14 forks source link

Improve `plot`'s handling of multiple substituents #7

Open mobiusklein opened 9 years ago

mobiusklein commented 9 years ago

plot's current layout algorithm doesn't know about substituents, and they are just drawn on the corner of their parent residue. This causes residues with multiple substituents to be drawn with all of their substituents drawn on top of each other.

A better algorithm to layout substituents would space them wider.