Skip to content

gi-nx


gi-nx / deleteFlow

ts
function deleteFlow(id: string): void;

Removes a flow from the project.

Parameters

ParameterTypeDescription
idstringThe id of the flow to delete.

Returns

void

Throws

If no flow with the given id exists.

Example

ts
gi.deleteFlow("my-flow-id");