(&self, annotation: NodeAnnotation)
| 1328 | |
| 1329 | #[doc(hidden)] |
| 1330 | pub fn add_annotation(&self, annotation: NodeAnnotation) -> Result<Node> { |
| 1331 | self.get_graph() |
| 1332 | .get_context() |
| 1333 | .add_node_annotation(self, annotation)?; |
| 1334 | Ok(self.clone()) |
| 1335 | } |
| 1336 | |
| 1337 | #[doc(hidden)] |
| 1338 | pub fn get_annotations(&self) -> Result<Vec<NodeAnnotation>> { |