cheminfo / openchemlib-js

JavaScript port of OpenChemLib
https://cheminfo.github.io/openchemlib-js/index.html
BSD 3-Clause "New" or "Revised" License
71 stars 21 forks source link

highlight matching substructures #157

Open targos opened 1 year ago

targos commented 1 year ago

DataWarrior does this:

CleanShot 2023-02-03 at 11 58 00

lpatiny commented 1 year ago

Seems this code allows to retrieve the matching atoms:

https://github.com/cheminfo/openchemlib-js/blob/f688501392d419a5299d8606d150080222662fc4/src/com/actelion/research/gwt/chemlib/com/actelion/research/chem/SSSearcher.java#L391-L395