aces 0.0.13

Algebra of Cause-Effect Structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::collections::BTreeMap;
use crate::NodeID;

#[derive(Clone, Default, Debug)]
pub(crate) struct Props {
    pub(crate) title:  Option<String>,
    pub(crate) labels: BTreeMap<NodeID, String>,
    // FIXME node and link geometry, colour, annotations, etc.
}

impl Props {
    pub(crate) fn clear(&mut self) {
        *self = Default::default();
    }
}