Skip to content
Snippets Groups Projects
Commit 9b55f554 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Added some details to documentation

parent fe7dbc09
No related branches found
No related tags found
No related merge requests found
Pipeline #56939 passed
...@@ -115,8 +115,8 @@ export class Node extends GraphElement implements Common.Node { ...@@ -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. * 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. * @param node Other node to connect. Will be target.
* @returns The created link, if successful, otherwise undefined. * @returns The created link, if successful, otherwise undefined.
*/ */
public connect(node: Node): Link { public connect(node: Node): Link {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment