Negligent Pachinko Machine

    obstacle-wl

    0.1.54 • Public • Published

    😊

    我自己用的。是的没错,就是给我自己用的。

    for me

    求大神指导,我就想让图片就是图片资源,不想转成base64,打包后图片地址就是http:localhost:8080/js/img/,百度翻译一下
    Ask God for guidance. I just want the picture to be a picture resource. I don't want to turn it into Base64. After packaging, the picture address ishttp:localhost:8080/js/img/

    🚀github

    文档都没有你们下载下来干什么?

    不会的就 🚀百度

    导出方法 export methods
    
    import x6 from './x6'
    
    const components = [x6]
    
    function install(Vue){
        components.forEach(comp => {
            Vue.component(comp.name, comp)
        })
    }
    
    if(typeof window !== "undefined" && window.Vue){
        install(window.Vue)
    }
    
    export { x6 }
    
    export default { install }
    导出数据 export data
    exportData(cb)
    if(cb instanceof Function) cb(this.graph.toJSON(),this.graph);
          return this.graph.toJSON()
    获取实例
    getGraph(){
          return this.graph
        },
    渲染数据
    renderData(data: cellJSONObject)

    快捷键

    名称 方法 注释
    复制 ctrl+c 点击节点后按ctrl+c
    粘贴 ctrl+v 复制后按ctrl+v
    框选 ctrl+按下鼠标左键拖动
    删除 delete 选中节点后按delete
    批量粘贴 框选后按ctrl+v
    批量删除 框选后按delete
    点选 ctrl+鼠标左键单击
    效果图预览

    🚀github


    javascript

    Keywords

    Install

    npm i obstacle-wl

    DownloadsWeekly Downloads

    226

    Version

    0.1.54

    License

    ISC

    Unpacked Size

    5.77 MB

    Total Files

    12

    Last publish

    Collaborators

    • __attempt