dabeng/OrgChart

deactivate collapse

der-robert opened this issue ยท 2 comments

Hi, is it possible without changing too much code?

We were after the same thing ... a 'quick way' to get around it is to just hide off the 'arrows' so they can not be clicked.

.orgchart .node .verticalEdge, .orgchart .node .horizontalEdge { display: none; }

And then you can also remove the yellow glow with:
.orgchart .node:hover, .orgchart .node.focused { background: none !important; }

Would be great to be able to turn on and off the 'collapse' though!

Hi @der-robert @ActiveScottShaw . Thank you guys for your constructive discussions. I have added a valuable tip to Readme that is inspired by this issue ๐Ÿ˜Š