pub enum MermaidNodeShape {
Show 18 variants
Box,
Rounded,
Diamond,
Stadium,
Subroutine,
Cylinder,
Circle,
DoubleCircle,
Hexagon,
Parallelogram,
ParallelogramAlt,
Trapezoid,
TrapezoidAlt,
Asymmetric,
StateStart,
StateEnd,
ForkJoin,
Note,
}Expand description
Vector shape rendered for a Mermaid flowchart, state, or mindmap node.
Variants§
Box
Standard rectangle box ([Label]).
Rounded
Soft rounded box ((Label)).
Diamond
Decision diamond ({Label}).
Stadium
Pill / stadium terminal (([Label])).
Subroutine
Subroutine double-bordered box ([[Label]]).
Cylinder
Cylindrical database node ([(Label)]).
Circle
Circular node (((Label))).
DoubleCircle
Concentric double circle ((((Label)))).
Hexagon
Six-sided hexagon ({{Label}}).
Parallelogram
Right-leaning parallelogram ([/Label/]).
ParallelogramAlt
Left-leaning parallelogram ([\Label\]).
Trapezoid
Bottom-wide trapezoid ([/Label\]).
TrapezoidAlt
Top-wide inverted trapezoid ([\Label/]).
Asymmetric
Asymmetric flag / ribbon node (>Label]).
StateStart
State diagram start filled dot ([*]).
StateEnd
State diagram end bullseye ([*]).
ForkJoin
State diagram fork or join synchronization bar (<<fork>> / <<join>>).
Note
Attached annotation note card.
Trait Implementations§
Source§impl Clone for MermaidNodeShape
impl Clone for MermaidNodeShape
impl Copy for MermaidNodeShape
Source§impl Debug for MermaidNodeShape
impl Debug for MermaidNodeShape
Source§impl Default for MermaidNodeShape
impl Default for MermaidNodeShape
impl Eq for MermaidNodeShape
Source§impl Hash for MermaidNodeShape
impl Hash for MermaidNodeShape
Source§impl PartialEq for MermaidNodeShape
impl PartialEq for MermaidNodeShape
impl StructuralPartialEq for MermaidNodeShape
Auto Trait Implementations§
impl Forget for MermaidNodeShape
impl Freeze for MermaidNodeShape
impl Move for MermaidNodeShape
impl RefUnwindSafe for MermaidNodeShape
impl Send for MermaidNodeShape
impl Sync for MermaidNodeShape
impl Unpin for MermaidNodeShape
impl UnsafeUnpin for MermaidNodeShape
impl UnwindSafe for MermaidNodeShape
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