#ifndef PROC_NODES_GRAPH_IMPORTER_H
#define PROC_NODES_GRAPH_IMPORTER_H
#include "proc_node_graph.h"
#include <godot_cpp/classes/ref_counted.hpp>
#include <godot_cpp/variant/string.hpp>
namespace godot {
class GraphImporter : public RefCounted {
GDCLASS(GraphImporter, RefCounted);
protected:
static void _bind_methods();
public:
// Import a proc-nodes graph from JSON (produced by geometry_serializer.py)
// Returns a fully constructed ProcNodeGraph, or null on failure
static Ref<ProcNodeGraph> import_from_json(const String &p_json);
GraphImporter() = default;
};
} // namespace godot
#endif // PROC_NODES_GRAPH_IMPORTER_H