pub struct Diagram {
pub language_version: LanguageVersion,
pub title: String,
pub theme_id: String,
pub children: Vec<ElementId>,
pub nodes: Vec<Node>,
pub groups: Vec<Group>,
pub edges: Vec<Edge>,
pub layout: Option<Layout>,
}Expand description
A semantically valid normalized Stack diagram.
Fields§
§language_version: LanguageVersionDeclared language version.
title: StringVisible diagram title.
theme_id: StringEffective theme identifier after language defaults.
children: Vec<ElementId>Direct root children in declaration order.
nodes: Vec<Node>Nodes in declaration order.
groups: Vec<Group>Groups in declaration order.
edges: Vec<Edge>Edges in declaration order.
layout: Option<Layout>Optional diagram-scoped layout input.
Trait Implementations§
impl Eq for Diagram
impl StructuralPartialEq for Diagram
Auto Trait Implementations§
impl Freeze for Diagram
impl RefUnwindSafe for Diagram
impl Send for Diagram
impl Sync for Diagram
impl Unpin for Diagram
impl UnsafeUnpin for Diagram
impl UnwindSafe for Diagram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more