epam / epam/Indigo

Support bold and up aromatic bonds in Indigo import, export and rendering

Open
#3,788 0 comments 0 reactions 0 assignees View on GitHub
Draft
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Background**
Ketcher introduces the following bond representations:
Bold bond
Bold double bond
Bold aromatic bond
Up aromatic bond

Bold double and bold aromatic bonds have a different appearance on the canvas but use the same bold modifier in the file representation. Similarly, an up aromatic bond has aromatic bond order combined with the existing up-bond direction.
Related Ketcher ticket: https://github.com/epam/ketcher/issues/10647

**Requirements**

1. KET import and export should preserve the bond order and the bold or up bond property. Up aromatic should use the same file property as an up bond.
2. MOL V3000 import and export should preserve an up aromatic bond as an aromatic bond with CFG=1.
3. CDX and CDXML import and export should preserve:
Bold display for single, double and aromatic bonds
Up display and direction for aromatic bonds
The original bond order
4. Indigo should correctly render all four bond representations in PNG and SVG.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the KET, MOL V3000, CDX/CDXML import and export paths and the PNG/SVG rendering entry points. Trace how bond order, bold display, and up direction are represented in each area. Done means all four bond representations preserve their required properties across these formats and render correctly in PNG and SVG.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.