@State showGraph isn't working for me either. I'm also looking for another solution for this.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: