Files
Graphite/node-graph/graph-craft/src/util.rs
Dennis Kobert edb36e2b80 Convert demo artworks to new save format (#4943)
* Add a document-loader crate for opening documents with migrations outside the editor

* Convert the demo artwork to gdd archives

* Report malformed legacy documents as an open error instead of panicking

* Keep the demo artwork list in graph-craft and open the demos at each caller
2026-11-10 14:48:36 +00:00

19 lines
435 B
Rust

use crate::document::NodeNetwork;
use crate::graphene_compiler::Compiler;
use crate::proto::ProtoNetwork;
pub fn compile(network: NodeNetwork) -> ProtoNetwork {
let compiler = Compiler {};
compiler.compile_single(network).unwrap().network
}
pub static DEMO_ART: [&str; 7] = [
"changing-seasons",
"painted-dreams",
"red-dress",
"valley-of-spires",
"isometric-fountain",
"procedural-string-lights",
"parametric-dunescape",
];