[][src]Function gazpatcho::run

pub fn run<F>(title: &str, conf: Config, report_callback: F) where
    F: Fn(Report) + 'static, 

Launch the user interface.

Config defines available node templates. Learn about all the available configuration options in the config documentation.

The report callback function will be executed every time there is a new change in the graph modeled by the application. Learn more about its format in the documentation of the report.

See an example in the crate documentation.