SyntenyFadeMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide for concepts. Built into JBrowse core. View source.
The fade a view drawing synteny ribbons offers whatever the color mode: a
sub-pixel alignment by its on-screen width, so a dense whole-genome picture
keeps its density instead of saturating. A fade by the data is the
opacity object's (SyntenyColorsMixin). The linear synteny view and the
circular view both compose it; a view supplies autoFadeWidthPx.
Properties
| Member | Description |
|---|---|
rendertypes.stripDefault(syntenyRenderConfigSchema, {}) | How the ribbons rasterize, a SyntenyRender object: antialias fades a sub-pixel ribbon by its on-screen width, so an unfiltered whole-genome view doesn't read as a full-opacity hairball. Unset, it fades once sub-pixel ribbons dominate a display and leaves a sparse comparison at full alpha; true and false fix it. Resolved view-wide by fadeThinAlignments. |
Volatiles
| Member | Description |
|---|---|
fadeThinLatchboolean | Whether the 'auto' thin-fade is latched on (see fadeThinAlignments). |
Getters
| Member | Description |
|---|---|
autoFadeWidthPxnumber | Overridable hook: the width 'auto' compares against its thresholds, the narrowest capped mean block width of any display with enough blocks to judge, or Infinity with none. |
antialiasboolean | undefined | render.antialias, undefined while it follows the data. |
fadeThinAlignmentsboolean | The resolved fade-thin flag every display renders by. 'auto' fades once sub-pixel ribbons dominate any loaded display, latched with a deadband (fadesThinAt, ADR-083) so a view near the threshold does not flip while panning. View-wide, so every display fades together. |
Actions
| Member | Description |
|---|---|
setAntialias(antialias: boolean | undefined) => void | |
setFadeThinLatch(arg: boolean) => void | Move the latched 'auto' thin-fade decision — installAutoFadeLatch is the only caller. |
Related links
- Docs: URL query parameter API