Type Alias choco::Story

source ·
pub type Story = DiGraph<Range<usize>, Range<usize>>;
Expand description

A story is a graph where spans of text are connected to each other through choices. Ranges of original string stored in nodes relate to main text under a particular bookmark, and the ranges stored in edges relate to the text of a certain choice.

Aliased Type§

struct Story { /* private fields */ }