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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy