Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4db510d

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 parent0b47c4f commit4db510d

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)

[8]ページ先頭

©2009-2025 Movatter.jp