Skip to content

Commit

Permalink
feat(graphin):add active style
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Jan 25, 2021
1 parent 7524665 commit 5f9a799
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/graphin/src/consts.ts
Expand Up @@ -162,7 +162,7 @@ export const genDefaultNodeStyle = ({
},
active: {
halo: {
visible: true,
visible: false,
},
},
inactive: {
Expand All @@ -181,6 +181,22 @@ export const genDefaultNodeStyle = ({
fill: Color.disabled,
},
},
disabled: {
halo: {
visible: false,
},
keyshape: {
lineWidth: 0,
fill: Color.disabled,
stroke: Color.disabled,
},
icon: {
fill: Color.disabled,
},
label: {
fill: Color.disabled,
},
},
},
};
return {
Expand Down

0 comments on commit 5f9a799

Please sign in to comment.