looks like my minimal example actually now has exactly the issue above: works fine when navigated to, but doesn't show the button when presented in a sheet. tried to file a feedback, but Feedback Assistant crashed (really!). not a good day so far.
Post
Replies
Boosts
Views
Activity
sorry for not mentioning the context: the code above was run in a simple MacOS command line project.
just realized: ordered(by: { $0.position < $1.position }). (duh!)
i think it would help if more code were available ... if you have it on GitHub, BitBucket, or somewhere else, we could look at it. in particular, i'd like to see the code for the CourseEditView, whether its incoming argument course is held as an @ObservedObject, and how the code handles the optional properties of the course. that alone could be the problem: when a course is deleted, SwiftUI may still have access a CourseEditView involving the deleted course.
i agree with you whole-heartedly when you say "I do think the graph view is crucial for establishing and analyzing relationships." you can get a nice overview of the model from the graphical diagram that otherwise takes a few minutes to flesh out when you have to read through each entity separately and basically sketch out a diagram by hand.