Skip to main content

Function: SemanticTypeStyles()

SemanticTypeStyles(types): undefined | TypeStyle

Built-in type style provider for Semantic Web element types:

  • Class: owl:Class, rdfs:Class
  • Object property: owl:ObjectProperty
  • Datatype property: owl:DatatypeProperty
  • Person: foaf:Person, wd:Q5
  • Country: wd:Q6256
  • Organization: schema:Organization, dbpedia:Organisation, foaf:Organization, wd:Q43229
  • Location: wd:Q618123
  • Event: wd:Q1190554
  • Object: wd:Q488383

Parameters

ParameterType

types

readonly string[]

Returns

undefined | TypeStyle

Deprecated

These styles will be removed in later versions

Defined in

legacy-styles.tsx:28