MCPcopy Create free account

hub / github.com/dataspecer/dataspecer / functions

Functions5,510 in github.com/dataspecer/dataspecer

↓ 21 callersMethodsetJson
(payload: any)
services/backend/src/models/local-store-model.ts:123
↓ 21 callersFunctionsetValue
(value: T)
applications/data-specification-editor/src/editor/utils/use-local-storage.ts:24
↓ 21 callersFunctionuseModelGraphContext
()
applications/conceptual-model-editor/src/context/model-context.ts:72
↓ 21 callersMethodwritePath
(path: string)
packages/core/src/io/stream/stream-dictionary.ts:7
↓ 20 callersFunctionisWritableVisualModel
( what: unknown, )
packages/visual-model/src/writable-visual-model.ts:88
↓ 20 callersFunctionselectDomainAndRange
( ends: T[], )
applications/conceptual-model-editor/src/dataspecer/semantic-model/semantic-model-utilities.ts:4
↓ 20 callersMethodvalue
(value: string | number | boolean | null | object | any[])
packages/json/src/json-schema/json-writer.ts:19
↓ 19 callersFunctionapplyOperationsToVisualModel
(writeableVisualModel: EntityRecord, operations: Operation[])
packages/visual-model/src/executor/executor.ts:30
↓ 19 callersMethodcreateNewVisualRelationshipsForTestingFromSemanticEnds
( visualModel: WritableVisualModel, model: string, semanticSourceIdentifier: string, semanticT
applications/conceptual-model-editor/src/action/test/actions-test-suite.ts:962
↓ 19 callersMethodhasVisualEntityForRepresented
* @returns True if there exists at least one visual entity for the {@link represented}.
packages/visual-model/src/visual-model.ts:49
↓ 19 callersMethodnotifyObserversOnEntityChangeOrDelete
( previous: VisualEntity | null, next: VisualEntity | null, )
packages/visual-model/src/default-visual-model.ts:439
↓ 18 callersFunctioncn
(...inputs: ClassValue[])
applications/controlled-vocabulary-manager/src/lib/utils.ts:4
↓ 18 callersFunctioncreateDefaultSemanticModelBuilder
(configuration: { baseIdentifier: string, baseIri: string, /** * When true the relative URL of entiti
packages/semantic-model/src/default-semantic-model-builder.ts:235
↓ 18 callersMethodcreateNewVisualNodeForTesting
( visualModel: WritableVisualModel, model: string, representedEntity: string, position?: XY
applications/conceptual-model-editor/src/action/test/actions-test-suite.ts:555
↓ 18 callersMethodmerge
(...options: object[])
packages/core/src/configuration/configurator.ts:6
↓ 17 callersFunctionaddSemanticAttributeToVisualModelAction
( notifications: UseNotificationServiceWriterType, visualModel: WritableVisualModel, domainIdentifier: s
applications/conceptual-model-editor/src/action/add-semantic-attribute-to-visual-model.ts:10
↓ 17 callersFunctionaddToRecordArray
( identifier: IdentifierType, value: ValueType, map: Record<IdentifierType, ValueType[]>, )
packages/layout/src/util/utils.ts:15
↓ 17 callersFunctioncommonArrange4
* Arrange a tree with multiple cardinalities
packages/csv/src/csv-schema/tests/csv-schema-model-adapter.spec.js:32
↓ 17 callersMethodcreateSemanticAttributeTestVariant
* Creates semantic attribute, adds it to the model and extends the classes context
applications/conceptual-model-editor/src/action/test/actions-test-suite.ts:802
↓ 17 callersMethodfindModel
* @returns Model with given identifier. * @throws {InvalidState}
applications/conceptual-model-editor/src/dataspecer/cme-model/cme-model-operation-executor.ts:187
↓ 17 callersMethodgetAllOutgoingEdges
* @returns Returns generator which can be iterated to get edges of all types, where the node is source/start.
packages/layout/src/graph/representation/node.ts:130
↓ 17 callersMethodwriteAndRegisterNamespaceDeclaration
* Writes an xmlns declaration and automatically registers. * @param prefix The prefix of the declared namespace. * @param uri The namespace URI.
packages/xml/src/xml/xml-writer.ts:137
↓ 16 callersMethodfillVisualModelWithData
( modelToFillWith: EntityModel, visualmodelToFill: WritableVisualModel, relationshipToTestType: Te
applications/conceptual-model-editor/src/action/test/actions-test-suite.ts:1034
↓ 16 callersMethodgetResource
(resourceId: string)
packages/core-v2/src/project/package/package-service.ts:9
↓ 16 callersFunctionisSemanticModelAttributeProfile
( resource: Entity | null, )
applications/conceptual-model-editor/src/dataspecer/semantic-model/index.ts:37
↓ 16 callersFunctionloadDataPsmSchema
( reader: CoreResourceReader )
packages/core/src/data-psm/executor/data-psm-executor-utils.ts:8
↓ 16 callersMethodmissingSchema
()
packages/core/src/data-psm/executor/data-psm-executor-utils.ts:43
↓ 16 callersMethodnode
(predicate: string)
packages/core/src/core/adapter/rdf/rdf-source-wrap.ts:120
↓ 16 callersFunctionprefix
(prefix: string, items: Record<string, T>)
applications/conceptual-model-editor/src/application/localization-translations-en.ts:3
↓ 16 callersFunctionremoveFromVisualModelByRepresentedAction
( notifications: UseNotificationServiceWriterType, graph: ModelGraphContextType, classesContext: Classes
applications/conceptual-model-editor/src/action/remove-from-visual-model-by-represented.ts:21
↓ 16 callersMethodreuseName
(entity: IdentifiableBuilder)
packages/profile-model/src/profile-model-builder.ts:47
↓ 16 callersFunctionselectLanguage
(input: LanguageString, languages: readonly string[])
applications/data-specification-editor/src/editor/utils/select-language.ts:3
↓ 16 callersMethodsetAlias
* Sets the alias of the model.
packages/core-v2/src/entity-model/entity-model.ts:40
↓ 16 callersFunctionsetConfigWithNewValue
(algorithmName: AlgorithmName, stateField: Partial<MainOrGeneralType>, nameOfParameterToChange: string, newVal
applications/manager/src/dialog/layout-dialog.tsx:169
↓ 16 callersMethodupdateSpecialization
* Update specializations for given entity to match the desired next state. * * @throws {InvalidState} * @throws {DataspecerError}
applications/conceptual-model-editor/src/dataspecer/cme-model/cme-model-operation-executor.ts:112
↓ 16 callersFunctionuseActions
()
applications/conceptual-model-editor/src/action/actions-react-binding.tsx:1561
↓ 16 callersFunctionuseDataPsmAndInterpretedPim
(dataPsmResourceIri: string | null)
applications/data-specification-editor/src/editor/hooks/use-data-psm-and-interpreted-pim.ts:10
↓ 15 callersMethodadd
(key: A, value: B)
packages/core-v2/src/hierarchical-semantic-aggregator/utils/tuple-set.ts:9
↓ 15 callersMethodaddVisualNode
* @returns Identifier for the new entity.
packages/visual-model/src/writable-visual-model.ts:20
↓ 15 callersFunctioncommonArrange1
()
packages/csv/src/rdf-to-csv/tests/rdf-to-csv-query-builder.spec.js:22
↓ 15 callersMethodcreatePackage
* Create a new empty package that can be used to store other packages or models.
packages/core-v2/src/project/package/package-service.ts:26
↓ 15 callersMethodgetJson
()
services/backend/src/models/local-store-model.ts:114
↓ 15 callersMethodgetView
* Returns the specific view. * @todo option to choose the view
packages/core-v2/src/semantic-model/aggregator/aggregator.ts:68
↓ 15 callersMethodlistResources
* Return IRIs of all resources.
packages/core/src/core/core-reader.ts:7
↓ 15 callersMethodnamedNode
(iri: string)
packages/core/src/core/adapter/rdf/rdf-api.ts:25
↓ 15 callersFunctionsanitizeDuplicitiesInRepresentativeLabels
( vocabularies: CmeSemanticModel[], entities: Type[], )
applications/conceptual-model-editor/src/utilities/label.ts:52
↓ 15 callersFunctionsetNodes
(value: (prevState: NodeType[]) => NodeType[])
applications/conceptual-model-editor/src/diagram/features/highlighting/set-selection-highlighting-styles.spec.ts:57
↓ 15 callersFunctionuseAsyncMemo
(factory: () => Promise<T>, deps: DependencyList, initial?: T)
applications/data-specification-editor/src/editor/hooks/use-async-memo.ts:3
↓ 14 callersMethodcloseObject
()
packages/json/src/json-schema/json-writer.ts:13
↓ 14 callersMethoddomain
(value: IdentifiableBuilder)
packages/semantic-model/src/semantic-model-builder.ts:74
↓ 14 callersMethodforIri
(resource: string, source: RdfSource)
packages/core/src/core/adapter/rdf/rdf-source-wrap.ts:25
↓ 14 callersMethodgetAlias
* @returns human readable alias of the model
packages/core-v2/src/entity-model/entity-model.ts:35
↓ 14 callersFunctionisVisualGroup
(what: Entity)
packages/visual-model/src/concepts/visual-group.ts:22
↓ 14 callersFunctionisWdErrorResponse
(response: object | undefined)
packages/wikidata-experimental-adapter/src/wikidata-ontology-connector/api-types/error.ts:7
↓ 14 callersMethodoptional
()
packages/profile-model/src/profile-model-builder.ts:53
↓ 14 callersFunctionregister
(config?: Config)
applications/data-specification-editor/src/editor/serviceWorker.ts:28
↓ 14 callersMethodsetResourceJsonData
(resourceId: string, data: unknown, name?: string)
packages/core-v2/src/project/package/package-service.ts:11
↓ 13 callersMethodaddIri
( subject: string, predicate: PredicateType, value: NamedNode | string | null, )
packages/rdf-adapter/src/rdf-builder.ts:17
↓ 13 callersMethodarray
()
packages/json/src/json-schema/json-writer.ts:23
↓ 13 callersMethodgetResourceJsonData
(resourceId: string, name?: string)
packages/core-v2/src/project/package/package-service.ts:10
↓ 13 callersFunctiongetSelections
( diagram: UseDiagramType, shouldFilterOutProfileClassEdges: boolean, shouldGetVisualIdentifiers: boolea
applications/conceptual-model-editor/src/action/utilities.ts:137
↓ 13 callersMethodinvalidEntity
(identifier: string, message: string, ...args: unknown[])
applications/conceptual-model-editor/src/application/logging.ts:25
↓ 13 callersMethodrange
(value: IdentifiableBuilder)
packages/semantic-model/src/semantic-model-builder.ts:76
↓ 13 callersFunctionrepresentOwlThing
()
applications/conceptual-model-editor/src/dialog/utilities/dialog-utilities.ts:128
↓ 13 callersFunctiontransformStructureModel
( conceptualModel: ConceptualModel, structureModel: StructureModel, specifications: DataSpecification[]
packages/core/src/structure-model/transformation/default-transformation.ts:53
↓ 13 callersMethodtypes
()
packages/core/src/core/adapter/rdf/rdf-source-wrap.ts:142
↓ 12 callersFunctionaddPrefix
( namespaceIri: string, queryPrefixes: Record<string, string> )
packages/csv/src/rdf-to-csv/rdf-to-csv-query-builder.ts:326
↓ 12 callersFunctionaddSemanticAttributeToVisualNodeAction
( notifications: UseNotificationServiceWriterType, visualModel: WritableVisualModel, domainNode: VisualN
applications/conceptual-model-editor/src/action/add-semantic-attribute-to-visual-node.ts:10
↓ 12 callersMethodchange
(updated: Record<EntityIdentifier, Entity>, removed: EntityIdentifier[])
packages/core-v2/src/semantic-model/profile/operations/operations-executor.ts:38
↓ 12 callersMethodcreateResource
* Creates a new resource (a model, not a package) of the given type under * the parent package, with the given id.
packages/core-v2/src/project/package/package-service.ts:42
↓ 12 callersFunctionfilterSelectionAction
( notifications: UseNotificationServiceWriterType, graph: ModelGraphContextType, classesContext: Classes
applications/conceptual-model-editor/src/action/filter-selection-action.ts:57
↓ 12 callersFunctionformatName
(name)
applications/api-specification/src/OApiGenerator.tsx:68
↓ 12 callersMethodgetAllNodesInMainGraph
()
packages/layout/src/graph/representation/graph.ts:135
↓ 12 callersFunctiongetDefaultUserGivenAlgorithmConfigurationsFull
()
packages/layout/src/configurations/user-algorithm-configurations.ts:199
↓ 12 callersFunctiongetDomainAndRangeConcepts
( relationship: SemanticModelRelationship | SemanticModelRelationshipProfile, )
applications/conceptual-model-editor/src/util/relationship-utils.ts:73
↓ 12 callersMethodgetResourceModelStore
(iri: string, storeName: string = "model")
services/backend/src/models/resource-model.ts:285
↓ 12 callersFunctionlanguageStringToString
( languagePreferences: string[], language: string, value: LanguageString | null, )
applications/conceptual-model-editor/src/utilities/string.ts:22
↓ 12 callersFunctionmakeAs
* Creates AS pattern for select part of SPARQL query. * @param varName Original variable name * @param alias New name of for the variable
packages/csv/src/rdf-to-csv/rdf-to-csv-query-builder.ts:198
↓ 12 callersFunctionrepresentCardinality
( cardinality: [number, number | null] | null | undefined, )
applications/conceptual-model-editor/src/dialog/utilities/dialog-utilities.ts:559
↓ 12 callersFunctionuseToggle
(initialValue: boolean = false)
applications/data-specification-editor/src/editor/hooks/use-toggle.ts:6
↓ 11 callersFunctionaddEntityNeighborhoodToVisualModelAction
( notifications: UseNotificationServiceWriterType, classes: ClassesContextType, graph: ModelGraphContext
applications/conceptual-model-editor/src/action/add-entity-neighborhood-to-visual-model.ts:42
↓ 11 callersMethodappend
(content: string)
packages/json/src/json-schema/string-json-writer.ts:47
↓ 11 callersFunctioncreateGeneralization
(entity: Partial<Omit<SemanticModelGeneralization, "id" | "type">>)
packages/core-v2/src/semantic-model/operations/operations.ts:148
↓ 11 callersMethodcreateNewWritableVisualModelSync
* Temporary method till the internal entity model is aligned with * the external one. * * @deprecated Use other method instead.
packages/visual-model/src/visual-model-factory.ts:13
↓ 11 callersFunctiongetEntity
packages/core-v2/src/semantic-model/writable-semantic-model-adapter.ts:119
↓ 11 callersFunctiongetLocalizedStringFromLanguageString
(ls: LanguageString | null, preferredLanguage: string = "en")
applications/conceptual-model-editor/src/util/language-utils.ts:82
↓ 11 callersFunctionsemanticModelMapToCmeSemanticModel
( models: Map<string, SemanticModel>, visualModel: VisualModel | null, defaultColor: HexColor, default
applications/conceptual-model-editor/src/dataspecer/cme-model/adapter/cme-semantic-model-adapter.ts:14
↓ 11 callersFunctionstopPropagation
(f: ((e: E) => void) | undefined = undefined)
applications/manager/src/utils/events.ts:4
↓ 11 callersMethodsubscribeToChanges
* Subscribe to changes. * @returns Callback to cancel the subscription.
packages/visual-model/src/visual-model.ts:60
↓ 11 callersMethodupdate
* Called when source model changes - updates local entities.
packages/core-v2/src/hierarchical-semantic-aggregator/merge-aggregator.ts:78
↓ 11 callersFunctionwriteLine
(text: string, stream: OutputStream)
packages/sparql-query/src/sparql-writer.ts:33
↓ 10 callersMethodaddIri
( subject: string, predicate: N3.NamedNode, value: N3.NamedNode<string> | string | null, )
packages/data-specification-vocabulary/src/semantic-model/dsv-to-rdf.ts:171
↓ 10 callersMethodaddVisualProfileRelationship
* @returns Identifier for the new entity.
packages/visual-model/src/writable-visual-model.ts:41
↓ 10 callersFunctioncallback
(updated: AggregatedEntityWrapper[], removed: string[])
applications/conceptual-model-editor/src/page.tsx:198
↓ 10 callersFunctioncardinalityToHumanLabel
(cardinality: [number, number | null] | undefined | null)
applications/conceptual-model-editor/src/util/relationship-utils.ts:124
↓ 10 callersMethodcloseArray
()
packages/json/src/json-schema/json-writer.ts:25
↓ 10 callersFunctioncreateDefaultVisualModelFactory
()
packages/visual-model/src/visual-model-factory.ts:34
↓ 10 callersFunctioncreateDependencyTracker
(trackers: Tracker[])
applications/conceptual-model-editor/src/dependency-tracker/dependency-tracker.ts:10
↓ 10 callersFunctioncreateVisualEdgeEndpointDuplicateAction
( notifications: UseNotificationServiceWriterType, diagram: UseDiagramType, visualModel: WritableVisualM
applications/conceptual-model-editor/src/action/create-visual-edge-endpoint-duplicate.ts:24
↓ 10 callersFunctionemptyAsNull
(value: string | null)
applications/conceptual-model-editor/src/utilities/string.ts:7
← previousnext →101–200 of 5,510, ranked by callers