From 6c033a2cd614eda0f653e24ab326c287cd780f0a Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Mon, 6 Oct 2025 16:28:03 -0700 Subject: [PATCH] Tidy up tooltip documentation for several assorted nodes (#3265) --- node-graph/gcore/src/artboard.rs | 1 + node-graph/gcore/src/context_modification.rs | 4 ++-- node-graph/gcore/src/debug.rs | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/node-graph/gcore/src/artboard.rs b/node-graph/gcore/src/artboard.rs index 6a95ac35..c5167007 100644 --- a/node-graph/gcore/src/artboard.rs +++ b/node-graph/gcore/src/artboard.rs @@ -110,6 +110,7 @@ pub fn migrate_artboard<'de, D: serde::Deserializer<'de>>(deserializer: D) -> Re }) } +/// Constructs a new single artboard table with the chosen properties. #[node_macro::node(category(""))] async fn create_artboard> + 'n>( ctx: impl ExtractAll + CloneVarArgs + Ctx, diff --git a/node-graph/gcore/src/context_modification.rs b/node-graph/gcore/src/context_modification.rs index 54c2eabf..f22ea1ec 100644 --- a/node-graph/gcore/src/context_modification.rs +++ b/node-graph/gcore/src/context_modification.rs @@ -11,8 +11,8 @@ use core::f64; use glam::{DAffine2, DVec2}; use graphene_core_shaders::color::Color; -/// Node for filtering context features based on requirements -/// This node is inserted by the compiler to "zero out" unused context parts +/// Node for filtering components of the context based on the specified requirements. +/// This node is inserted by the compiler to "zero out" unused context components. #[node_macro::node(category("Internal"))] async fn context_modification( ctx: impl Ctx + CloneVarArgs + ExtractAll, diff --git a/node-graph/gcore/src/debug.rs b/node-graph/gcore/src/debug.rs index f484446d..b55fe90b 100644 --- a/node-graph/gcore/src/debug.rs +++ b/node-graph/gcore/src/debug.rs @@ -3,6 +3,7 @@ use crate::raster_types::{CPU, Raster}; use crate::table::Table; use glam::{DAffine2, DVec2}; +/// Meant for debugging purposes, not general use. Logs the input value to the console and passes it through unchanged. #[node_macro::node(category("Debug"), name("Log to Console"))] fn log_to_console(_: impl Ctx, #[implementations(bool, f64, u32, u64, DVec2, DAffine2, String)] value: T) -> T { // KEEP THIS `debug!()` - It acts as the output for the debug node itself