Less than 1 minute
Home > @hz-9/algorithm > Graph > (constructor)
Graph.(constructor)
Constructs a new instance of the Graph class
Signature:
constructor(isDirected?: boolean, equalsFn?: EqualsFn<T>);Parameters
Parameter | Type | Description |
|---|---|---|
isDirected | boolean | (Optional) |
equalsFn | EqualsFn<T> | (Optional) |