0.140.0A .luau file can be imported as a graph.New2026-10-06
Added
0.140.0Right-click a .luau you wrote in the Project panel for Import as graph. It opens a new graph that compiles back to that file, and says how many statements became nodes.
0.140.0Locals, if, the three loops, functions with their parameters and returns, calls, field writes and a module's return become their nodes. What has no node yet, such as a type, stays as its own code in a Custom Code or Luau Expression node.
0.140.0The .luau file is not changed. Compiling over it asks for force, as for any file Roswaal did not write, and a graph already at the import's path is never replaced.
Changed
0.140.0A loop variable named _ keeps that name in the generated Luau.