How do I create image on edge in mxGraph

谁说我不能喝 提交于 2019-12-02 15:10:27

问题


I want to create a connector between two vertices and that the connector has an image in the center.

The connection would have an image. Is this possible?

http://upload.wikimedia.org/wikipedia/commons/0/08/Simple_stock_and_flow_diagram.gif

I Work with mxGraph, javascript.

Sorry, for my english. Thanks.


回答1:


Take a look at the following example:

http://jgraph.github.io/mxgraph/javascript/examples/markers.html



来源:https://stackoverflow.com/questions/15292093/how-do-i-create-image-on-edge-in-mxgraph

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!