@itsjustcarlos wrote:
I'm trying to use expandTree to expand tree
However, I'm getting an unexpected number error.go.GraphObject.make(go.Node, "Auto", { expandTree(2), isTreeExpanded: false, },Looked over the docs here, https://gojs.net/latest/api/symbols/Node.html#expandTree, but it wasn't clear to me what the format should be.
tried putting it outside the {} but that created other errors. not a function, not defined etc.
Posts: 2
Participants: 2