repo:edge:add

Stage an edge between distinct descendants of a graph in this repository.

Reference for flywheel repo:edge:add.

Stage an edge only when the graph, source, and target nodes belong to the same repository. The source and target must be distinct descendants beneath the graph container; establish containment before running this command. Nodes and containment assignments may still be pending. Invalid edges are rejected before staging succeeds, leaving the prior batch unchanged.

Command Group

Local Repository

Summary

Stage an edge between distinct descendants of a graph in this repository.

Usage

flywheel repo:edge:add [FLAGS] <ARGS>…

Arguments

ArgumentRequiredChoicesDescription
<graph_node_id>YesGraph node UUID in this repository; containment of the distinct source and target nodes must be established before this operation.
<source_node_id>YesSource node UUID in the same repository; a distinct descendant beneath graph_node_id.
<target_node_id>YesTarget node UUID in the same repository; a distinct descendant beneath graph_node_id.

Required flags

None.

Optional flags

FlagValueDefaultChoicesDescription
--repostringLocal repository filesystem path.
--personalUse the configured personal repository.
--content-filestringOptional edge-content file.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Stage an edge between distinct descendants of a graph in this repository.

flywheel repo:edge:add <graph_node_id> <source_node_id> <target_node_id> --format=json