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

demo问题,希望作者看到有空回复一下子哈 #23

Open
ghost opened this issue Jan 4, 2020 · 1 comment
Open

demo问题,希望作者看到有空回复一下子哈 #23

ghost opened this issue Jan 4, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 4, 2020

// 加载网络拓扑图
editor.loadTopology(rootPath + '/json/network.json', "img/backimg.png");

TopologyPanel.prototype.loadTopology = function (url, topologyGuid, backImg) {

@RenJiangZhou2163
Copy link

自定义一个参数就行了,作者在jtopo-editor.css中指定了默认背景图片,想自定义背景图片需要修改相应代码
editor.loadTopology(rootPath + '/json/network.json', 111, "img/backimg.png");

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

1 participant