diff --git a/node-graph/gcore/src/structural.rs b/node-graph/gcore/src/structural.rs index a86af76b..b1f650dc 100644 --- a/node-graph/gcore/src/structural.rs +++ b/node-graph/gcore/src/structural.rs @@ -2,10 +2,11 @@ use core::marker::PhantomData; use crate::{Node, NodeMut}; -// This is how we can generically define composition of two nodes. -// This is done generically as shown: -// A concrete example: -// And showing the direction of data flow: +/// This is how we can generically define composition of two nodes. +/// This is done generically as shown: +/// A concrete example: +/// And showing the direction of data flow: +/// ```text /// ┌────────────────┐ /// T │ │ U /// ───────────►│ Compose Node ├───────────► @@ -21,6 +22,7 @@ use crate::{Node, NodeMut}; /// │ Second ├─────────────►│ │ /// │ │ └───────────┘ /// └──────────┘ +/// ``` #[derive(Clone, Copy)] pub struct ComposeNode { first: First,