diff --git a/src/editor/js/structures/graph/node.ts b/src/editor/js/structures/graph/node.ts index dfa16a209cd39f6d93600cae5ba778dacfffe091..e79dbc7b07dcd997064d3a9fe18a8ecf84fbc0a5 100644 --- a/src/editor/js/structures/graph/node.ts +++ b/src/editor/js/structures/graph/node.ts @@ -115,8 +115,8 @@ export class Node extends GraphElement implements Common.Node { } /** - * Connects a given node to itself. Only works if they are in the same graph. - * @param node Other node to connect. + * Connects a given node to itself. Only works if they are in the same graph. This node will be source. + * @param node Other node to connect. Will be target. * @returns The created link, if successful, otherwise undefined. */ public connect(node: Node): Link {