Class DAG

Hierarchy

Index

Properties

Methods

Properties

public names: Array<any>

public vertices: {}

Methods

public add(name: string): any

Parameters

  • name: string

Returns

any

public addEdge(fromName: string, toName: string)

Parameters

  • fromName: string
  • toName: string

public addEdges(name: string, value: any, before: any, after: any)

Parameters

  • name: string
  • value: any
  • before: any
  • after: any

public map(name: string, value: any)

Parameters

  • name: string
  • value: any

public topsort(fn: Function)

Parameters

  • fn: Function