Interface OmlOntologyDiagramScope

Represents the scope of elements visible in an OML Ontology diagram

Hierarchy

  • OmlOntologyDiagramScope

Implemented by

Properties

classifierHasFeaturesOrEdges: ((cls: Classifier) => Boolean)

Type declaration

    • (cls: Classifier): Boolean
    • Checks whether the given classifier cls has any properties or edges defined in the graph

      Returns

      true if any properties or edges are defined on this classifier, false otherwise

      Parameters

      Returns Boolean

entityAxioms: Map<Entity, Set<Axiom>>

Maps Entities to axioms defined on those entities, including restrictions, key axioms, and specializations

instanceAssertions: Map<NamedInstance, Set<AstNode>>

Maps NamedInstances to the AstNodes that those instances reference

scalarProperties: Map<Classifier, Set<ScalarProperty>>

Maps Classifiers to scalar properties that reference the classifier as its domain

scope: (() => Set<AstNode>)

Type declaration

    • (): Set<AstNode>
    • Get all graph nodes in scope

      Returns

      a Set of all AstNodes visualized as nodes in the graph

      Returns Set<AstNode>

structuredProperties: Map<Classifier, Set<StructuredProperty>>

Maps Classifiers to structured properties that reference the classifier as its domain

Generated using TypeDoc