use super::*;
#[derive(Clone, Debug)]
pub struct SeriesRenderer {}
#[derive(Clone, Debug)]
pub(crate) struct GraphNode {
pub name: String,
pub value: f64,
pub x: f64,
pub y: f64,
pub size: f64,
}
#[derive(Clone, Debug)]
pub(crate) struct GraphLink {
pub source: String,
pub target: String,
pub value: f64,
}
#[derive(Clone, Copy, Data, Debug)]
pub(crate) struct RadarGeometry {
#[get(type(copy))]
pub center_x: f64,
#[get(type(copy))]
pub center_y: f64,
#[get(type(copy))]
pub radius: f64,
#[get(type(copy))]
pub sides: usize,
#[get(type(copy))]
pub start_angle: f64,
}
#[derive(Clone, Debug)]
pub(crate) struct SankeyNode {
pub name: String,
pub value: f64,
pub column: usize,
pub top: f64,
pub height: f64,
}
#[derive(Clone, Debug)]
pub(crate) struct SankeyLink {
pub source: String,
pub target: String,
pub value: f64,
}
#[derive(Clone, Debug)]
pub(crate) struct SunburstSector {
pub name: String,
pub value: f64,
pub depth: usize,
pub start_angle: f64,
pub end_angle: f64,
}
#[derive(Clone, Debug)]
pub(crate) struct TreeTile {
pub name: String,
pub value: f64,
pub rect: BBox,
pub depth: usize,
}