Skip to content

Commit 4db510d

Browse files
authored
Fix param mismatch in comment for value in GraphOptions (#25)
* Fix param mismatch in comment for value in GraphOptions * Switch to source and target instead of i and j
1 parent 0b47c4f commit 4db510d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Randomize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ namespace Randomize {
158158
* @param source The id of the node where the edge starts.
159159
* @param target The id of the node where the edge ends.
160160
*/
161-
value?: (i: number, j: number) => any;
161+
value?: (source: number, target: number) => any;
162162

163163
/**
164164
* Whether to make the graph directed.

0 commit comments

Comments
 (0)