VisBOL / visbol-js

SBOLv rendering in JavaScript
visbol.org
BSD 2-Clause "Simplified" License
10 stars 3 forks source link

What is the purpose of "hideDNA" in glyphs such as operator? #86

Open jamesamcl opened 6 years ago

jamesamcl commented 6 years ago

Some of the glyphs, such as operator, draw a white box called "hideDNA" over the top of the glyph. This is obviously only noticable on a non-white background. What is the purpose of this box?

cjmyers commented 6 years ago

The operator glyph sits on top of the dna strand and should hide the strand

Chris

Sent from my iPhone

On Aug 1, 2018, at 7:50 AM, James Alastair McLaughlin notifications@github.com wrote:

Some of the glyphs, such as operator, draw a white box called "hideDNA" over the top of the glyph. This is obviously only noticable on a non-white background. What is the purpose of this box?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jamesamcl commented 6 years ago

I see. Leaving this open because it looks very strange indeed on a non-white background.

cjmyers commented 6 years ago

Any suggestion how to sort that?

On Aug 1, 2018, at 8:16 AM, James Alastair McLaughlin notifications@github.com wrote:

I see. Leaving this open because it looks very strange indeed on a non-white background.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/VisBOL/visbol-js/issues/86#issuecomment-409611309, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD90EdCgWpBZ3GdVNt8rqCVJgpqfqxks5uMcZCgaJpZM4VqpZb.

jamesamcl commented 6 years ago

Probably by not drawing the backbone under such glyphs in the first place. Instead of being a single line, the backbone would be broken by any glyphs designated as interrupting it.