extern crate alloc;
use crate::records::state_dot::StateDot;
use crate::records::to_dot_options::ToDotOptions;
use crate::type_aliases::type_id::TypeId;
use alloc::string::String;
pub fn to_dot(ty: TypeId, opts: &ToDotOptions) -> String {
let mut state = StateDot::new(*opts);
state.result = String::from("digraph graphname {\n");
state.visit_child_type_id_i32_c_char(ty, 0, core::ptr::null());
state.result += "}";
state.result
}
#[allow(unused_imports, non_snake_case)]
pub use to_dot as to_dot_type_id_to_dot_options;