Class: Encoding

Map visual channels to container dims/coords/vars, by NAME (keyed, never positional). Common case: {x: time, y: rate}. A channel may later accept a scale object without breaking this string form.

URI: tvbo:class/Encoding

 classDiagram
    class Encoding
    click Encoding href "./Encoding.html"
      Encoding : color
        
          
    
        
        
        Encoding --> "0..1" String : color
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Encoding : detail
        
          
    
        
        
        Encoding --> "0..1" String : detail
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Encoding : x
        
          
    
        
        
        Encoding --> "0..1" String : x
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Encoding : y
        
          
    
        
        
        Encoding --> "0..1" String : y
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Encoding : z
        
          
    
        
        
        Encoding --> "0..1" String : z
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      

Slots

Name Cardinality and Range Description Inheritance
x 0..1
xsd:string
direct
y 0..1
xsd:string
direct
z 0..1
xsd:string
Depth channel for a line3d panel (the third phase-space axis); ignored by 2-D… direct
color 0..1
xsd:string
Dim/coord/var whose values SEPARATE the marks by colour — a field name, never… direct
detail 0..1
xsd:string
Non-visual grouping dim (e direct

Usages

used by used in type used
Layer encoding range Encoding

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo/figure

Mappings

Mapping Type Mapped Value
self tvbo:Encoding
native tvbo:Encoding

LinkML Source

Direct

name: Encoding
description: 'Map visual channels to container dims/coords/vars, by NAME (keyed, never
  positional). Common case: {x: time, y: rate}. A channel may later accept a scale
  object without breaking this string form.'
from_schema: https://w3id.org/tvbo/figure
attributes:
  x:
    name: x
    from_schema: https://w3id.org/tvbo/figure
    domain_of:
    - Coordinate
    - Encoding
    - Annotation
    - Matrix
    range: string
  y:
    name: y
    from_schema: https://w3id.org/tvbo/figure
    domain_of:
    - Coordinate
    - Encoding
    - Annotation
    - Matrix
    range: string
  z:
    name: z
    description: Depth channel for a line3d panel (the third phase-space axis); ignored
      by 2-D kinds.
    from_schema: https://w3id.org/tvbo/figure
    domain_of:
    - Coordinate
    - Encoding
    range: string
  color:
    name: color
    description: 'Dim/coord/var whose values SEPARATE the marks by colour — a field
      name, never a colour. `color: node` draws one line per node from the cycler;
      to fix a mark''s colour, use `Style.color`.'
    from_schema: https://w3id.org/tvbo/figure
    domain_of:
    - ParcellationEntity
    - Encoding
    - Annotation
    - Style
    - Surface
    - Graph
    - Rule
    - Region
    range: string
  detail:
    name: detail
    description: Non-visual grouping dim (e.g. the hue/iterate dim).
    from_schema: https://w3id.org/tvbo/figure
    rank: 1000
    domain_of:
    - Encoding
    range: string

Induced

name: Encoding
description: 'Map visual channels to container dims/coords/vars, by NAME (keyed, never
  positional). Common case: {x: time, y: rate}. A channel may later accept a scale
  object without breaking this string form.'
from_schema: https://w3id.org/tvbo/figure
attributes:
  x:
    name: x
    from_schema: https://w3id.org/tvbo/figure
    owner: Encoding
    domain_of:
    - Coordinate
    - Encoding
    - Annotation
    - Matrix
    range: string
  y:
    name: y
    from_schema: https://w3id.org/tvbo/figure
    owner: Encoding
    domain_of:
    - Coordinate
    - Encoding
    - Annotation
    - Matrix
    range: string
  z:
    name: z
    description: Depth channel for a line3d panel (the third phase-space axis); ignored
      by 2-D kinds.
    from_schema: https://w3id.org/tvbo/figure
    owner: Encoding
    domain_of:
    - Coordinate
    - Encoding
    range: string
  color:
    name: color
    description: 'Dim/coord/var whose values SEPARATE the marks by colour — a field
      name, never a colour. `color: node` draws one line per node from the cycler;
      to fix a mark''s colour, use `Style.color`.'
    from_schema: https://w3id.org/tvbo/figure
    owner: Encoding
    domain_of:
    - ParcellationEntity
    - Encoding
    - Annotation
    - Style
    - Surface
    - Graph
    - Rule
    - Region
    range: string
  detail:
    name: detail
    description: Non-visual grouping dim (e.g. the hue/iterate dim).
    from_schema: https://w3id.org/tvbo/figure
    rank: 1000
    owner: Encoding
    domain_of:
    - Encoding
    range: string