mxgraph简单的例子

代码语言:html

所属分类:其他

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>BFW NEW PAGE</title>
    <script id="bfwone"  type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/bfwone.js"></script>
    <script type="text/javascript">
    	mxBasePath = 'http://repo.bfw.wiki/bfwrepo/js/mxgraph/';
        bready(function() {
            use(["mxClient"], function() {
                // Overridden to define per-shape connection points
                mxGraph.prototype.getAllConnectionConstraints = function(terminal, source) {
                    if (terminal != null && terminal.shape != null) {
                        if (terminal.shape.stencil != null) {
                            return terminal.shape.stencil.constraints;
             .........完整代码请登录后点击上方下载按钮下载查看

网友评论0