How to write graph to tensorboard using tensorflow 2.0?

Am doing this

    # eager on
    tf.summary.trace_on(graph=True, profiler=True)
    tf.summary.trace_export('stuff', step=1, profiler_outdir='output')
    # ... call train operation
    tf.summary.trace_off()

Profile section shows up in tensorboard but no graph yet.