Options
All
  • Public
  • Public/Protected
  • All
Menu

Convenience for collections of identified Subjects, such as found in a MeldUpdate. Extends Array and serialisable to JSON-LD as such.

Indexable

[n: number]: GraphSubject

Convenience for collections of identified Subjects, such as found in a MeldUpdate. Extends Array and serialisable to JSON-LD as such.

Index

Properties

Variables

Properties

Array

Array: ArrayConstructor

graph

graph: ReadonlyMap<Iri, GraphSubject>

Subjects in the collection indexed by @id. In addition, if a Subject in the graph references another Subject in the same graph, the reference is realised as a Javascript reference, so it is possible to traverse the graph from some known root object. This means that the graph cannot necessarily by serialised to JSON as it may not be acyclic.

quads

The graph, presented as an RDF dataset. This field will not be included in the JSON representation of the graph.

Variables

Const EMPTY

EMPTY: GraphSubjects = Object.assign([], { graph: new Map(), quads: [] })

Empty graph implementation (immutable)

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Protected method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.1-edge.4 Source code licensed MIT. Privacy policy