diff --git a/src/Randomize.ts b/src/Randomize.ts index e131107..207fa98 100644 --- a/src/Randomize.ts +++ b/src/Randomize.ts @@ -158,7 +158,7 @@ namespace Randomize { * @param source The id of the node where the edge starts. * @param target The id of the node where the edge ends. */ - value?: (i: number, j: number) => any; + value?: (source: number, target: number) => any; /** * Whether to make the graph directed.