OrgChart icon indicating copy to clipboard operation
OrgChart copied to clipboard

Displaying vertical cards instead of horizontals

Open ugenc opened this issue 4 years ago • 3 comments

Hi Xuebin Dong, it is an awesome project to play around. But I wonder how to display my cells in the last level not side-by-side, but head-to-head.

Example; (displaying cards as in the yellow area)

Artboard 1-100

thank you for your help :)

ugenc avatar May 19 '20 12:05 ugenc

I believe what you are looking for is simple: for the highlighted portion:

{ 'name': 'Hei Hei', 'title': 'senior engineer', 'children': [ { 'name': 'Dan Zai', 'title': 'UE engineer', 'children': [ { 'name': 'Er Dan Zai', 'title': 'engineer', } ] } ] }

VinceGee avatar May 28 '20 23:05 VinceGee

Yeah, thank you for this opinion. That's one solution. And, there is an vertical-depth option. it also works.

ugenc avatar May 29 '20 21:05 ugenc

Hey @ugenc , @VinceGee @dabeng Can you guys help me on how to drag and drop a node from one chart to another chart within same page. Also, how to create sibling nodes for a parent node?

Appreciate your help

mahindar-s4 avatar Nov 24 '21 10:11 mahindar-s4