[][src]Function gazpatcho::run

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

Please use run_with_mpsc or run_with_callback instead

Launch the user interface, feed updates to the given callback.

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.