Class: RelationConfiguration

_style for a particular relation (for example, BFO:0000050 or rdfs:subClassOf).

Example of usage, where relationProperties specifies a collection of RelationConfigurations keyed by property.

{
    "relationProperties": {
        "rdfs:subClassOf": {
            "color": "black",
            "penwith": 3,
            "arrowhead": "open",
            "label": ""
        },
        "BFO:0000050": {
            "arrowhead": "tee",
            "color": "blue"
        }
    }
}
```_





URI: [ex:RelationConfiguration](https://w3id.org/kgviz/RelationConfiguration)




```mermaid
 classDiagram
      EdgeProperty <|-- RelationConfiguration
      ElementConfiguration <|-- RelationConfiguration

      RelationConfiguration : arrowhead
      RelationConfiguration : arrowtail
      RelationConfiguration : color
      RelationConfiguration : fontcolor
      RelationConfiguration : id
      RelationConfiguration : label
      RelationConfiguration : penwidth


Inheritance

Slots

Name Cardinality and Range Description
id 1..1
Node
color 0..1
Color
Basic drawing color for graphics, not text
penwidth 0..1
xsd:integer
label 0..1
xsd:string
arrowhead 0..1
ArrowType
arrowtail 0..1
ArrowType
fontcolor 0..1
Color

Usages

used by used in type used
StyleSheet relationProperties range RelationConfiguration

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/kgviz/

Mappings

Mapping Type Mapped Value
self ['ex:RelationConfiguration']
native ['ex:RelationConfiguration']

LinkML Specification

Direct

name: RelationConfiguration
description: "style for a particular relation (for example, BFO:0000050 or rdfs:subClassOf).\n\
  \nExample of usage, where [relationProperties](relationProperties.md)\nspecifies\
  \ a collection of RelationConfigurations keyed by property.\n\n```json\n{\n    \"\
  relationProperties\": {\n        \"rdfs:subClassOf\": {\n            \"color\":\
  \ \"black\",\n            \"penwith\": 3,\n            \"arrowhead\": \"open\",\n\
  \            \"label\": \"\"\n        },\n        \"BFO:0000050\": {\n         \
  \   \"arrowhead\": \"tee\",\n            \"color\": \"blue\"\n        }\n    }\n\
  }\n```"
from_schema: https://w3id.org/kgviz/
rank: 1000
is_a: ElementConfiguration
mixins:
- EdgeProperty
slots:
- id
- color
- penwidth
- label

Induced

name: RelationConfiguration
description: "style for a particular relation (for example, BFO:0000050 or rdfs:subClassOf).\n\
  \nExample of usage, where [relationProperties](relationProperties.md)\nspecifies\
  \ a collection of RelationConfigurations keyed by property.\n\n```json\n{\n    \"\
  relationProperties\": {\n        \"rdfs:subClassOf\": {\n            \"color\":\
  \ \"black\",\n            \"penwith\": 3,\n            \"arrowhead\": \"open\",\n\
  \            \"label\": \"\"\n        },\n        \"BFO:0000050\": {\n         \
  \   \"arrowhead\": \"tee\",\n            \"color\": \"blue\"\n        }\n    }\n\
  }\n```"
from_schema: https://w3id.org/kgviz/
rank: 1000
is_a: ElementConfiguration
mixins:
- EdgeProperty
attributes:
  id:
    name: id
    from_schema: https://w3id.org/kgviz/
    rank: 1000
    identifier: true
    alias: id
    owner: RelationConfiguration
    domain_of:
    - RelationConfiguration
    - PrefixConfiguration
    range: Node
  color:
    name: color
    description: Basic drawing color for graphics, not text. For the latter, use the
      fontcolor attribute.
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    mixins:
    - edge property
    - node property
    - cluster property
    slot_uri: https://graphviz.org/doc/info/attrs.html#d:color
    alias: color
    owner: RelationConfiguration
    domain_of:
    - RelationConfiguration
    - NodeProperty
    range: Color
  penwidth:
    name: penwidth
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    slot_uri: https://graphviz.org/doc/info/attrs.html#d:penwidth
    alias: penwidth
    owner: RelationConfiguration
    domain_of:
    - RelationConfiguration
    - GeneralProperty
    range: integer
  label:
    name: label
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    alias: label
    owner: RelationConfiguration
    domain_of:
    - RelationConfiguration
    - GeneralProperty
    range: string
  arrowhead:
    name: arrowhead
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    alias: arrowhead
    owner: RelationConfiguration
    domain_of:
    - EdgeProperty
    range: ArrowType
  arrowtail:
    name: arrowtail
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    alias: arrowtail
    owner: RelationConfiguration
    domain_of:
    - EdgeProperty
    range: ArrowType
  fontcolor:
    name: fontcolor
    from_schema: https://w3id.org/kgviz/graphviz
    rank: 1000
    alias: fontcolor
    owner: RelationConfiguration
    domain_of:
    - GeneralProperty
    - NodeProperty
    range: Color