react-org-chart icon indicating copy to clipboard operation
react-org-chart copied to clipboard

Component does not render anything

Open AleVul opened this issue 5 years ago • 4 comments

Managed to get to compile after some rather weird bugs such as loadImage prop being required (it crashes if not set) in situation when it should, like setting image src in the tree objects.

But no mather what i do, this renders 2 divs that are hidden and an svg that doent output anything.

Also this seems to get a handle on a element with id root. Nowhere this is specified, thus crashes when the element was not found.

Any suggestion what i can do to get this render properly?

P.S.: is this repository abandoned?

AleVul avatar Jul 16 '20 06:07 AleVul

Indeed, there are several forks from this repository respectively from the coredev version underneath that are 'alive', this isn't.

Boris-Scharinger avatar Jul 16 '20 10:07 Boris-Scharinger

Hello, I finally manage to display the tree by editing the svg width and height in my web browser. I now need to edit it in the code to perenise the fix.

Before edition: OrgChartSvg

After: OrgChartSvgEdited

itsnotme01 avatar Aug 18 '20 15:08 itsnotme01

@itsnotme01 can you solve it?

Yalian avatar Oct 17 '20 03:10 Yalian