const bpmn = {
    state: {
        nodeVisible: false,
        nodeInfo: {},
        status: false,
    },
    mutations: {
        TOGGLENODEVISIBLE: (state, visible) => {
            state.nodeVisible = visible;
        },
        SETNODEINFO: (state, info) => { //编辑框图标点击
            //console.log('编辑框图标点击', state, info)
            state.status = true
            state.nodeInfo = info;
        },
        STATUSCHANGE(state) {
            state.status = false
        }
    },
    actions: {}
};

export default bpmn;
