SynBioDex / SBOL-visual

The reference implementation of the SBOL Visual standard
Other
31 stars 15 forks source link

Minor tweaks on sampler #140

Closed jakebeal closed 3 years ago

jakebeal commented 3 years ago

I've noticed a couple of minor flaws on the autogenerated samplers:

  1. Glyph name capitalization isn't preserved (e.g., Polya, Cds, Dsna). This information can be retrieved from the ontology.
  2. Glyphs don't distinguish the recommended vs. alternate.
jamesscottbrown commented 3 years ago

The capitalization issue should be fixed: scripts/glyph_list.json now includes a displayName attributes containing the names exactly how they should appear on the sampler.

jamesscottbrown commented 3 years ago

The sampler now uses background color to distinguish recommended vs alternate glyphs.

(GitHub seems to do some caching of the PNG, but not PDF versions, so you might see older versions for a while)