pub fn document_order(chart: &Chart) -> Vec<DocNode<'_>>
Every state, transition and executable content element of chart in document order; the position of a node is its index in the result.
chart