Skip to content

Updates to edit capabilities

Latest
Compare
Choose a tag to compare
@EBjerrum EBjerrum released this 02 May 12:55
· 1 commit to master since this release
cc59504

Extended features has been added, view widget can now be customized to have different selection colours and unsanitizable responsive background.

Moreover, the edit widget now supports addition of rings, benzene and cyclohexane. This necessitated a new editing paradigm, where either a bond, an atom or a ring is chosen as the chemEntity to draw with, either via that property, or via setAtom, setBond and setRing. It is thus not possible to have a custom atom (e.g. N) and a custom bond (e.g. double), selected at the same time, which anyway could lead to unintuitive and unwanted behaviour when adding new atoms or bonds.