Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "graph/index"

Index

Interfaces

Type aliases

Type aliases

GraphOptions

GraphOptions: { defaultWeight?: undefined | number; directed?: undefined | false | true; weighted?: undefined | false | true }

The possible options for a Graph.

Type declaration

  • Optional defaultWeight?: undefined | number

    The default weight value to add to the edges.

  • Optional directed?: undefined | false | true

    Whether edges should be added in both direction.

  • Optional weighted?: undefined | false | true

    Whether the edges should be assigner a weight value. Note: unused for now. A weight can be added no matter this value, and if not a default value is used.

Generated using TypeDoc