pub enum NodeShape {
Show 13 variants
Rectangle,
Rounded,
Circle,
Diamond,
Cylinder,
Stadium,
Subroutine,
Hexagon,
Parallelogram,
ParallelogramAlt,
Trapezoid,
TrapezoidAlt,
Table,
}Expand description
Shape of a node
Variants§
Rectangle
Rectangle [Label]
Rounded
Rounded rectangle (Label)
Circle
Circle ((Label))
Diamond
Diamond/rhombus {Label}
Cylinder
Cylinder/database [(Label)]
Stadium
Stadium shape ([Label])
Subroutine
Subroutine [[Label]]
Hexagon
Hexagon {{Label}}
Parallelogram
Parallelogram [/Label/]
ParallelogramAlt
Reverse Parallelogram [\Label]
Trapezoid
Trapezoid [/Label]
TrapezoidAlt
Reverse Trapezoid [\Label/]
Table
Table (D2 sql_table)
Trait Implementations§
impl Copy for NodeShape
impl Eq for NodeShape
impl StructuralPartialEq for NodeShape
Auto Trait Implementations§
impl Freeze for NodeShape
impl RefUnwindSafe for NodeShape
impl Send for NodeShape
impl Sync for NodeShape
impl Unpin for NodeShape
impl UnwindSafe for NodeShape
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