Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

259 B
Raw Blame
import type { GraphViewMode } from "./types";

export function localGraphRequiresDraftConfirm(
  viewMode: GraphViewMode,
  selectedNodeId: string,
  resolvedNodeId: string,
): boolean {
  return viewMode !== "focused" || resolvedNodeId !== selectedNodeId;
}