jellyflow-egui 0.3.0

Immediate-mode egui adapter for Jellyflow node graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use jellyflow_egui::egui;
use jellyflow_egui::{JellyflowEguiApp, SampleGraphKind};

fn main() -> eframe::Result {
    let options = eframe::NativeOptions {
        viewport: egui::ViewportBuilder::default()
            .with_title("Jellyflow tree sample")
            .with_inner_size([1280.0, 780.0]),
        ..Default::default()
    };

    eframe::run_native(
        "Jellyflow tree sample",
        options,
        Box::new(|_cc| Ok(Box::new(JellyflowEguiApp::sample(SampleGraphKind::Tree)?))),
    )
}