+ @if (selectedClass) {
+
+
+
+
+ Properties
+
+
+ Entries
+
+
+
+ @if (activeTab === 'properties') {
+ @if (loadingAttributes) {
+
+ } @else {
+
+ @if (ownAttributes.length > 0) {
+
+
Own Attributes
+
+
+
+
+ Name
+ Cardinality
+ Value Type
+
+
+
+ @for (attr of ownAttributes; track attr.name) {
+
+ {{ attr.name }}
+
+ {{ attr.cardinality }}
+
+
+ @for (vt of attr.valueTypes; track vt.name; let last = $last) {
+ @if (vt.databaseObject && isClassInTree(vt.name)) {
+ {{ vt.name }}
+ } @else if (vt.databaseObject) {
+ {{ vt.name }}
+ } @else {
+ {{ vt.name }}
+ }
+ @if (!last) { , }
+ }
+
+
+ }
+
+
+
+
+ }
+
+
+ @if (inheritedAttributes.length > 0) {
+
+
+ Inherited Attributes
+
+ {{ showInherited ? 'Hide' : 'Show' }} ({{ inheritedAttributes.length }})
+
+
+ @if (showInherited) {
+
+
+
+
+ Name
+ Cardinality
+ Value Type
+ Origin
+
+
+
+ @for (attr of inheritedAttributes; track attr.name + attr.origin) {
+
+ {{ attr.name }}
+
+ {{ attr.cardinality }}
+
+
+ @for (vt of attr.valueTypes; track vt.name; let last = $last) {
+ @if (vt.databaseObject && isClassInTree(vt.name)) {
+ {{ vt.name }}
+ } @else if (vt.databaseObject) {
+ {{ vt.name }}
+ } @else {
+ {{ vt.name }}
+ }
+ @if (!last) { , }
+ }
+
+
+ @if (isClassInTree(attr.origin)) {
+ {{ attr.origin }}
+ } @else {
+ {{ attr.origin }}
+ }
+
+
+ }
+
+
+
+ }
+
+ }
+
+
+ @if (referrals.length > 0) {
+
+
Referrals
+
Other classes that reference {{ selectedClass }}:
+
+
+
+
+ Attribute
+ Cardinality
+ In Class
+
+
+
+ @for (ref of referrals; track ref.name + ref.origin) {
+
+ {{ ref.name }}
+
+ {{ ref.cardinality }}
+
+
+ @if (isClassInTree(ref.origin)) {
+ {{ ref.origin }}
+ } @else {
+ {{ ref.origin }}
+ }
+
+
+ }
+
+
+
+
+ }
+
+ @if (attributesError) {
+
+
Could not load attributes. The attributes endpoint may need to be deployed.
+
+ } @else if (ownAttributes.length === 0 && inheritedAttributes.length === 0) {
+
+
No attributes found for this class.
+
+ }
+
+
+
+
+ You can find documentation for the Reactome data model
+ here .
+
+
+ The sidebar on the left shows the hierarchy of Reactome classes. The number
+ of instances of each class is shown in square brackets and links to a listing
+ of all instances of that class.
+
+
+ The main panel shows attributes of the selected class.
+ Own attributes , i.e. the ones which are
+ not inherited from a parent class, are shown separately from inherited ones.
+
+
+ + in the Cardinality column indicates
+ a multi-value attribute.
+
+
+ }
+ } @else if (activeTab === 'entries') {
+ @if (loadingEntries) {
+
+ } @else {
+
+
+ @if (entries.length > 0) {
+
+
+ @if (totalPages > 1) {
+
+ }
+ } @else {
+
+
No entries found for this class.
+
+ }
+ }
+ }
+ } @else {
+
+
schema
+
Reactome Data Model Browser
+
Select a class from the hierarchy to view its properties and entries.
+
+ }
+