I am right now creating an Org Chart using a D3.js Tree layout. The Organization chart will be opened by a logged in user and the requirement is to show the org chart opened to the user's node by default.
For example, if the logged in user is 'n', and the org chart is :
j m
/ /
b - e - k
/
a - d - l - n
\
c- f - h
\
i
The user will see :
a - d - l - n
So, the problem statement is to expand the Org chart till a particular node where the node id/name is the logged in user.
Any help is welcome.