@graphty/graphty-element / ai / CommandResult
Interface: CommandResult ​
Defined in: graphty-element/src/ai/commands/types.ts:15
Result of executing a command.
Extended by ​
Properties ​
affectedEdges? ​
optionalaffectedEdges?:string[]
Defined in: graphty-element/src/ai/commands/types.ts:25
IDs of edges affected by the command
affectedNodes? ​
optionalaffectedNodes?:string[]
Defined in: graphty-element/src/ai/commands/types.ts:23
IDs of nodes affected by the command
data? ​
optionaldata?:unknown
Defined in: graphty-element/src/ai/commands/types.ts:21
Optional data returned by the command
message ​
message:
string
Defined in: graphty-element/src/ai/commands/types.ts:19
Human-readable message about the result
success ​
success:
boolean
Defined in: graphty-element/src/ai/commands/types.ts:17
Whether the command executed successfully