Closed carrbrpoa closed 6 years ago
Try to set a hight:
.tree {
height: 600px;
width: 100%;
}
I am having the same issue. Did you find out how to get it working?
Edit: Searching the page for grandson does list three entries. Maybe it is the styling on my application.
I have the same problem; Through debug, I found that without setting Marginx, the transform attribute of svg>g was "translate(206,20)". When Marginx:0 is set, the transform attribute of svg>g is "translate(06,20)".
All I see in Vue console is emitted events with the payload. Nothing is rendered.
I tried adding margin-x and margin-y but didn't help?
With some help, I got this working. The tree component doesn't show the text for one out of four labels but it renders fine.
https://github.com/modularsoftware/genealogy/blob/master/resources/assets/js/pages/trees/Show.vue https://github.com/modularsoftware/genealogy/blob/master/resources/assets/js/pages/trees/Edge.vue
I'm not clear on how to get the op's code to work. I'm having the same problem:
@qianbi and @curtisdelicata I just released a 3.5.1 version where I fix a bug when zoomable was false that may be the same as the one you describe. Please let me know if it solve the problem if not cfreate a webpackbin so I can investigate.
Hello,
Tried to display a tree with sample data. I see the
svg
element is sized, but nothing is displayed. Code:Any ideas? Thanks!