Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/stores/linkStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ export const useLinkStore = defineStore('link', () => {
}

/**
* @returns The registered topology, or `undefined` when its ID or
* non-floating target slot is occupied.
* @returns The registered topology. Re-registering the same raw topology
* under the same owner returns the incumbent; `undefined` means a distinct
* topology occupies its ID or non-floating target slot.
*/
function registerLink(
scope: GraphScope,
Expand Down
4 changes: 3 additions & 1 deletion src/stores/nodeDataStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export const useNodeDataStore = defineStore('nodeData', () => {
}

/**
* @returns The registered state, or `undefined` when the node ID is occupied.
* @returns The registered state. Re-registering the same raw state under the
* same owner returns the incumbent; `undefined` means a distinct state
* occupies the node ID.
*/
function registerNode(
graphScope: GraphScope,
Expand Down
4 changes: 3 additions & 1 deletion src/stores/rerouteStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export const useRerouteStore = defineStore('reroute', () => {
}

/**
* @returns The registered chain, or `undefined` when its ID is occupied.
* @returns The registered chain. Re-registering the same raw chain under the
* same owner returns the incumbent; `undefined` means a distinct chain
* occupies its ID.
*/
function registerReroute(
scope: GraphScope,
Expand Down
Loading