feat: 修改topology 添加连线为点击添加一条直线
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
const data = {
|
||||
borderType: 0,
|
||||
disableInput: true,
|
||||
rotate: 0,
|
||||
borderColor: '#22222200',
|
||||
data: {
|
||||
parent: '',
|
||||
statistic: 'last',
|
||||
legend: '',
|
||||
enable: {
|
||||
tooltip: false,
|
||||
valueMapping: false
|
||||
},
|
||||
valueMapping: [
|
||||
|
||||
],
|
||||
params: {
|
||||
borderColor: '#22222200',
|
||||
color: '#222222FF',
|
||||
animateColor: '#FA901CFF'
|
||||
},
|
||||
value: ''
|
||||
},
|
||||
lineAnimateType: 0,
|
||||
color: '#222222FF',
|
||||
animateSpan: 1,
|
||||
animateReverse: false,
|
||||
toArrow: 'triangleSolid',
|
||||
lineName: 'line',
|
||||
anchors: [
|
||||
{
|
||||
x: 0,
|
||||
start: true,
|
||||
y: 0,
|
||||
id: '5e66fc16',
|
||||
penId: '6c5996e8',
|
||||
lineLength: 150,
|
||||
},
|
||||
{
|
||||
shiftKey: false,
|
||||
buttons: 1,
|
||||
clientY: 203,
|
||||
clientX: 1482,
|
||||
ctrlKey: false,
|
||||
x: 1,
|
||||
y: 1,
|
||||
altKey: false,
|
||||
id: '31eb0808',
|
||||
pageY: 203,
|
||||
penId: '6c5996e8',
|
||||
pageX: 1482
|
||||
}
|
||||
],
|
||||
type: 1,
|
||||
lineWidth: 1,
|
||||
isBottom: true,
|
||||
borderWidth: 0,
|
||||
fromArrow: '',
|
||||
id: '',
|
||||
text: '',
|
||||
moduleId: '',
|
||||
locked: 0,
|
||||
height: 2,
|
||||
visible: true,
|
||||
nzName: '',
|
||||
isNz: true,
|
||||
length: 164.01219466856725,
|
||||
moduleData: {
|
||||
moduleId: '',
|
||||
moduleName: '',
|
||||
show: false,
|
||||
error: false,
|
||||
expressArr: [
|
||||
|
||||
],
|
||||
expressAllArr: [
|
||||
|
||||
],
|
||||
state: {
|
||||
error: false,
|
||||
asset: 0,
|
||||
alert: 0,
|
||||
endpoint: 0
|
||||
}
|
||||
},
|
||||
ex: -1659,
|
||||
ey: -193,
|
||||
lineDash: [
|
||||
|
||||
],
|
||||
name: 'line',
|
||||
x: -1823,
|
||||
width: 164,
|
||||
y: -195,
|
||||
fontSize: 12,
|
||||
lineHeight: 1.5,
|
||||
animateColor: '#FA901CFF',
|
||||
autoPlay: false
|
||||
}
|
||||
|
||||
export default data
|
||||
Reference in New Issue
Block a user