How to change config after new viewer

how to change config(options) after new viewer

Hi. Can you elaborate?

`const viewer = new Viewer({
container:xx,
customProps:‘abc’
})
<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

https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax#quoting-code

You’re welcome.