/bevy_mod_debugdump

Primary LanguageRustMIT LicenseMIT

bevy_mod_debugdump

Features

Schedule graph

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    let mut app = App::new();
    // disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
    app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); 
    bevy_mod_debugdump::print_schedule(&mut app);
}

bevy's schedule graph

Render Graph

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    let mut app = App::new();
    app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); 
    bevy_mod_debugdump::print_render_graph(&mut app);
}

bevy's render graph

Render schedule graph

use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
    let mut app = App::new();
    app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); 
    bevy_mod_debugdump::print_render_schedule(&mut app);
}

bevy's render schedule graph

Bevy support table

bevy bevy_mod_debugdump
0.9 0.6
0.8 0.5
0.7 0.4
0.6 0.3
0.5 0.2
0.5 0.1