How to use jsonld-graph - 1 common examples

To help you get started, we’ve selected a few jsonld-graph examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure-Samples / digital-twins-explorer / client / src / services / ModelService.js View on Github external
async initialize() {
    if (!this.modelGraph) {
      const models = await apiService.queryModels();
      this.modelGraph = new JsonldGraph([
        { uri: "dtmi:dtdl:context;2", context }
      await this.modelGraph.load( => x.model));


Library to parse, inspect and mutate JSON-LD documents as an in-memory graph.

Latest version published 2 years ago

Package Health Score

42 / 100
Full package analysis

Popular jsonld-graph functions