2022-08-16 16:25:52 +08:00
|
|
|
use std::collections::HashMap;
|
|
|
|
|
|
2022-08-17 16:20:56 +08:00
|
|
|
#[derive(Clone)]
|
2022-08-16 16:25:52 +08:00
|
|
|
pub struct NodeAttributes(HashMap<String, Option<String>>);
|
|
|
|
|
|
|
|
|
|
impl NodeAttributes {
|
|
|
|
|
pub fn new() -> NodeAttributes {
|
|
|
|
|
NodeAttributes(HashMap::new())
|
|
|
|
|
}
|
|
|
|
|
}
|