问题
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