pub use comment::Comment;
pub use dyn_node::{DynNode, NodeCodec, NodeUiInstance, NormalizeNodeError, UiBuiltins};
pub use fn_named_ref::FnNamedRef;
#[doc(inline)]
pub use gantz_core::node::{Id, state};
pub use gui::{GUI_REF_EXT_KEY, Gui, GuiDisplay, GuiRefExt, GuiRole};
pub use inspect::Inspect;
pub use instance_cache::{InstanceEntry, NodeInstances};
pub use named_ref::{NamedRef, missing_color, outdated_color};
pub use plot::{Plot, PlotMode, PlotStyle};
pub use ref_ext::RefExtUi;
pub mod comment;
pub mod dyn_node;
pub mod fn_named_ref;
pub mod gui;
pub mod inspect;
pub mod instance_cache;
pub mod named_ref;
pub mod plot;
pub mod ref_ext;
mod size_sync;
pub fn builtins() -> Vec<gantz_core::Builtin> {
use gantz_core::Builtin;
let identity_ca = gantz_core::data::erase_node_typed(&gantz_core::node::Identity)
.expect("`id` must erase")
.content_addr();
let name = gantz_core::node::IDENTITY_NAME.parse().expect("infallible");
let named_ref = NamedRef::new(name, gantz_core::node::Ref::new(identity_ca));
vec![
Builtin::new("comment", &Comment::default()),
Builtin::new("fn", &gantz_core::node::Fn::new(named_ref)),
Builtin::new("gui", &Gui::default()),
Builtin::new("inspect", &Inspect::default()),
Builtin::new("plot", &Plot::default()),
]
}