Skip to content

Export FlowGraph::AbortIfRequested #7826

@emesare

Description

@emesare

We allow users to implement their own flow graph layout providers and we allow users to request flow graph layouts (positioning of nodes within a flow graph). The issue is that we do not allow for flow graph layout providers to be cancelled/aborted, we export FlowGraphLayoutRequest::Abort() but no way to check if the request has been aborted.

void Abort();

virtual bool Layout(Ref<FlowGraph> graph, std::vector<Ref<FlowGraphNode>>& nodes);

We have this internally, a function called AbortIfRequested. It might be beneficial to also understand the internals of that function before trying to expose it, seeing as it also forces flags other than the "is aborted" flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: APIIssue needs changes to the APIComponent: CoreIssue needs changes to the coreEffort: TrivialIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundUI: GraphIssues with the FlowGraph class or Graph view

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions