pub fn free_graph_state(cx: FunctionContext<'_>) -> JsResult<'_, JsBoolean>
Function to free the graph state
cx
graph_state_id
JsResult<JsBoolean>