Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class diagram 過大無法載入? #14

Open
billypchan opened this issue Nov 28, 2018 · 3 comments
Open

Class diagram 過大無法載入? #14

billypchan opened this issue Nov 28, 2018 · 3 comments

Comments

@billypchan
Copy link

@L-Zephyr 你好,感謝你開發Drafter, 自Droxygen 後很久沒用自動生成的class diagram 了。
我生成的HTML 有 5MB, 但 class diagram 沒發載入,試了Firefox 和safari都不行。按了停留在第一個class的畫面,如圖:

screenshot 2018-11-28 at 11 13 52

如有需要,我可傳生成的文件供你參考,謝謝!

@L-Zephyr
Copy link
Owner

L-Zephyr commented Dec 2, 2018

你好,可以看一下浏览器的控制台有没有报什么错误么?

@billypchan
Copy link
Author

screenshot 2018-12-03 at 12 08 48

以上是Firefox 的錯誤

@L-Zephyr
Copy link
Owner

L-Zephyr commented Dec 4, 2018

从控制台没看出什么信息,不过我估计是这个问题,因为前端部分是用viz.js生成svg后直接全部渲染出来的,在大型工程里面一次性渲染所有的类图确实会碰到性能问题,前端性能这一块之后有时间我会再优化一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants