partridgejiang / Kekule.js

A Javascript cheminformatics toolkit.
http://partridgejiang.github.io/Kekule.js
MIT License
247 stars 61 forks source link

Partial condensed structural formula #311

Closed dipamsen closed 11 months ago

dipamsen commented 11 months ago

Is there a way to create this type of structure?

image

With the default settings when I try to create this, it looks like:

image

where the straight chain carbon atoms are hidden.

If I change "Default Molecule Display Mode" to "CONDENSED" or "Default Atom Display Mode" to "SHOWN", then the entire structure is expanded, which also expands the aromatic rings (which is not wanted).

image

Can I somehow use the Condensed mode for some atoms and skeletal for others?

dipamsen commented 11 months ago

Figured it out: it is possible to show/hide individual labels! image