use std::hash::Hash;
use std::collections::HashMap;
use image::{Rgb, RgbImage};
use crate::to_image::common_interaction_drawer::CommonInteractionDrawerTrait;
pub trait ContextAwareInteractionDrawer<
LI : Eq + Hash + Copy + Clone
> : CommonInteractionDrawerTrait {
fn draw_background(&self, image : &mut RgbImage, img_width : f32, img_height : f32);
fn get_lifelines_colors(&self, involved_lifelines : &[LI]) -> HashMap<LI,Rgb<u8>>;
fn get_arrow_length(&self) -> f32;
fn get_nest_padding_unit(&self) -> f32;
}