Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Graph

Hierarchy

  • Graph

Index

Properties

calls

calls: Call[]

Methods

IRI

  • IRI(iri: string): Call

M

Morphism

  • Create a morphism path object. Unqueryable on it's own, defines one end of the path. Saving these to variables with

    Returns Path

V

  • V(...nodeIds: (string | object)[]): Path

Vertex

  • Vertex(...nodeIds: (string | object)[]): Path
  • Start a query path at the given vertex/vertices. No ids means "all vertices".

    Parameters

    • Rest ...nodeIds: (string | object)[]

    Returns Path

addDefaultNamespaces

  • addDefaultNamespaces(): Graph

addNamespace

  • addNamespace(pref: string, ns: string): Graph
  • Associate prefix with a given IRI namespace.

    Parameters

    • pref: string
    • ns: string

    Returns Graph

emit

  • Add data programmatically to the JSON result list. Can be any JSON type.

    Parameters

    Returns Path

loadNamespaces

  • loadNamespaces(): Graph

Generated using TypeDoc