Options
All
  • Public
  • Public/Protected
  • All
Menu

Options that can be passed to GenericGraphAdapter.

Type parameters

  • TVertex

Hierarchy

  • GenericGraphAdapterOptions

Index

Properties

cycleDetector

cycleDetector: CycleDetector<TVertex>

The cycle detector algorithm, defaults to PearceKellyDetector.

mapConstructor

mapConstructor: MapConstructor

For creating a new Map. Defaults to the native Map. If you need to support enviroments without a native Map implementation and don't want to use a global polyfill, pass the Map object with this options:

import * as Map from "core-js/es6/map";
const graph = new GenericGraphAdapter({mapConstructor: Map}):

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc