How to change config after new viewer

how to change config(options) after new viewer

Hi. Can you elaborate?

`const viewer = new Viewer({
<button onclick=‘changeProps(‘bcd’)’>change abc to bcd

function changeProps(str){
viewer.setConf({customProps:str}) // has any method to set conf?
like the simple demo,click the button to change customPorps in my custom model and diagram rerender by this props

You’re welcome.