OEDepict TK 2.3.6¶
New features¶
The following API has been added to increase the reporting capabilities of OEDepict TK:
OEImageTable class
OEImageTableOptions class
OEImageTableStylenamespace
Example of depicting molecules and data using image table¶
The following API has been added to render labels associated with certain parts of the depicted molecule:
OEHighlightLabel class
OEAddLabelfunction
Example of adding labels on molecule depiction¶
A new function,
OEDrawText, has been added.The constructor of the
OEHighlightByLassoclass now takes a parameter that determines the width of the “lasso” used for highlighting. The correspondingGetLineWidthScaleandSetLineWidthScalemethods have been added.A new constructor has been added to the
OEImageFrameclass that generates a new image with equal padding around it.A new function,
OEWriteReportPageByPage, has been added.A new constructor has been added to the
OE2DPathclass that copies and rotates an already existing path.
Preliminary API - New Functionalities¶
A new overload of the function
OEAddSVGClickEventhas been added that allows associating any OESVGGroup object with an SVG click event.A new Preliminary API has been added to generate and access built-in visibility SVG classes (OESVGClass):
A new Preliminary API has been added to mark up the atoms in SVG images generated by the
OERenderMoleculefunction:A new constant,
OELayerPosition_SVG, has been added to theOELayerPositionnamespace.The following virtual methods have been added to the OEImageFileBase class:
A new method,
OESVGGroup.IsVisible, has been added.
Preliminary API - API Changes¶
The atom and bond display parameters of the following functions are no longer
const:
Major bug fixes¶
Objects that have been drawn in hidden SVG groups are no longer visible in other image file formats. For example, when adding hover text to atoms (using the
OEDrawSVGHoverTextfunction), the text will only be visible in SVG images when the mouse is moved over a displayed atom. If the image is written into any other image file format, the hover text is no longer visible.2017.Jun
2017.Oct
When generating interactive SVG images, hover text (
OEDrawSVGToggleText) and click events (OEAddSVGClickEvent) can both be added to atoms and bonds.
Minor bug fixes¶
The Ogham API, deprecated since 2014, is no longer available.
Documentation changes¶
A new section, Depicting Molecules in a Table, has been added.