Content-Length: 256979 | pFad | http://github.com/algorithm-visualizer/tracers.js/commit/#start-of-content

687A198D Fix param mismatch in comment for value in GraphOptions (#25) · algorithm-visualizer/tracers.js@4db510d · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/algorithm-visualizer/tracers.js/commit/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy