Skip to content

Improve ionic bond depictions - fixes https://github.com/cdk/depict/i…#1270

Merged
egonw merged 1 commit intomainfrom
fix-depict-26
Mar 3, 2026
Merged

Improve ionic bond depictions - fixes https://github.com/cdk/depict/i…#1270
egonw merged 1 commit intomainfrom
fix-depict-26

Conversation

@johnmay
Copy link
Copy Markdown
Member

@johnmay johnmay commented Mar 3, 2026

…ssues/26 and cdk/depict#99.

We now only create ionic bonds if the charged atom has less than 3 connected bonds - otherwise we are almost certainly going to have a lot of congestion. When laying out components we prefer to depict the positively charged component first.

image Screenshot 2026-03-03 at 13 13 42

We now only create ionic bonds if the charged atom has less than 3 connected bonds - otherwise we are almost certainly going to have a lot of congestion. When
laying out components we prefer to depict the positively charged component first.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 3, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
76.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@egonw egonw merged commit fce871e into main Mar 3, 2026
12 of 13 checks passed
@johnmay johnmay deleted the fix-depict-26 branch March 3, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants