SVG output with atom labelling (option "i") currently only supports numeric atom indices. These indices change, when explicit hydrogens are excluded (a typical use case when dealing with organic molecules). I have input from CML or CIF files and want to use atom labelling in SVG output for identification of torsions, rings, etc. detected by OB. Desired output will print (non-numeric) atom labels given in input (generic data "label" or "_atom_site_label").
Any chance to get that functionality? A simple alternative/workaround without changing the library would be a XSLT style sheet generating the desired output from SVG with embedded CML (option "e").
Maybe the --highlight option would do some of what you want by coloring atoms and bonds specified by SMARTS patterns. The color is also appears in in CML output.