pub struct GraphOptions {
pub layout: Option<GraphLayout>,
pub roam: Option<bool>,
pub draggable: Option<bool>,
pub symbol_size: Option<SymbolSize>,
pub symbol: Option<SymbolType>,
pub label: Option<LabelOption>,
pub line_style: Option<LineStyleOption>,
pub edge_curveness: Option<f64>,
pub edge_symbol: Option<Vec<String>>,
pub links: Option<Vec<DataValue>>,
}Expand description
The options specific to a graph series.
Fields§
§layout: Option<GraphLayout>The layout used to place the nodes.
roam: Option<bool>Whether the graph can be panned and zoomed.
draggable: Option<bool>Whether the nodes are dragged.
symbol_size: Option<SymbolSize>The size of the node symbols.
symbol: Option<SymbolType>The shape of the node symbols.
label: Option<LabelOption>The label of a node.
line_style: Option<LineStyleOption>The stroke of the links.
edge_curveness: Option<f64>The curvature of the links.
edge_symbol: Option<Vec<String>>The orientation of the links.
links: Option<Vec<DataValue>>Whether the links are drawn.
Trait Implementations§
Source§impl Clone for GraphOptions
impl Clone for GraphOptions
Source§impl Debug for GraphOptions
impl Debug for GraphOptions
Source§impl Default for GraphOptions
impl Default for GraphOptions
Source§impl PartialEq for GraphOptions
impl PartialEq for GraphOptions
impl StructuralPartialEq for GraphOptions
Auto Trait Implementations§
impl Freeze for GraphOptions
impl RefUnwindSafe for GraphOptions
impl Send for GraphOptions
impl Sync for GraphOptions
impl Unpin for GraphOptions
impl UnsafeUnpin for GraphOptions
impl UnwindSafe for GraphOptions
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