antvis/G6



The issue has been closed
V5 Quick start demo example doesn't work #5705
xnd1124 posted onGitHub
Describe the bug
Result of rendering HTML file from demo example doesn't render graph
Your Example Website or App
https://g6-next.antv.antgroup.com/en/manual/tutorial/quick-start
Steps to Reproduce the Bug or Issue
- Go to https://g6-next.antv.antgroup.com/en/manual/tutorial/quick-start
- Copy code from "G6 in vanilla HTML" in empty HTML file
- Replace "https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js" on "https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.35/dist/g6.min.js"
- Open HTML file in browser
There is error "Graph is not defined
Ok.
5.Replace "new Graph" on "new G6.Graph"
6. Reopen HTML file in browser
No errors, but no result
Expected behavior
As a user, I expect a rendered page with a graph
Screenshots or Videos
No response
Platform
- OS: Windows 10
- Browser: Chrome 124.0.6367.119
- Version: 5.0.0-beta.35
Additional context
No response