[Cleanup] Documentation (#963)

Adds / cleans JSDoc.
This commit is contained in:
filtered
2025-04-24 22:47:20 +10:00
committed by GitHub
parent d70260615b
commit 79ce3199d4
3 changed files with 10 additions and 6 deletions

View File

@@ -58,7 +58,11 @@ export interface Parent<TChild> {
*/
export interface Positionable extends Parent<Positionable>, HasBoundingRect {
readonly id: NodeId | RerouteId | number
/** Position in graph coordinates. Default: 0,0 */
/**
* Position in graph coordinates. This may be the top-left corner,
* the centre, or another point depending on concrete type.
* @default 0,0
*/
readonly pos: Point
/** true if this object is part of the selection, otherwise false. */
selected?: boolean