Tracktion editViewState in demo runner

I’ve got a question on the implementation of the editComponent in the Demorunner, which uses the EditViewState in the Tracktion engine. I was wondering if a similar logic could be implemented using flexbox instead. For example, I could insert a track header and a track Component every time I add a new track using FlexItem, right? The same would go for delete, just deleting the track header and track component. I’m just asking because I don’t understand how the demo runner is setting up all of the visual elements, and I prefer to set up the UI using flexbox instead.
Any insight?