da0931d1 by 焦泽平

历史回shu

1 parent a4706e73
......@@ -52,6 +52,7 @@ export default {
},
methods: {
initG6() {
const self=this;
const data = this.data;
const eWidth = this.$refs.containerWidth.clientWidth;
const eHeight = this.$refs.containerWidth.clientHeight;
......@@ -63,6 +64,11 @@ export default {
'sql',
{
drawShape(cfg, group) {
var dClor='#ffffff';
if(cfg.id==self.bsm){
dClor='#C6E5FF';
}
const rect = group.addShape('rect', {
attrs: {
x: -100,
......@@ -71,7 +77,7 @@ export default {
height: 50,
radius: 10,
stroke: '#5B8FF9',
fill: '#C6E5FF',
fill: dClor,
lineWidth: 1,
},
name: 'rect-shape',
......@@ -147,6 +153,7 @@ export default {
defaultEdge: {
type: 'polyline1',
style: {
endArrow: true,
radius: 10,
offset: 10,
// endArrow: true,
......