corrected vertical autoplace spacing
This commit is contained in:
@@ -56,14 +56,14 @@
|
||||
}
|
||||
.bzgf-node[data-nodetype="condition"] .frame{
|
||||
border: 1px solid white;
|
||||
transform: rotate(-45deg);
|
||||
transform: rotate(-45deg) scale(0.7071);
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
.bzgf-node[data-nodetype="condition"] .port[data-direction="w"]{ left: -28px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="e"]{ right: -28px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="n"]{ top: -28px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="s"]{ bottom: -28px; }
|
||||
.bzgf-node[data-nodetype="condition"] .port[data-direction="w"]{ left: -5px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="e"]{ right: -5px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="n"]{ top: -5px; }
|
||||
.bzgf-node[data-nodetype="condition"] [data-direction="s"]{ bottom: -5px; }
|
||||
|
||||
.bzgf-node[data-nodetype="process"]{
|
||||
border: 1px solid white;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
window.addEventListener('load',()=>{
|
||||
const grflw1 = document.querySelector('bz-graflow.compunet')
|
||||
document.querySelector('[data-trigger="onAutoplace1H"]').addEventListener('click',
|
||||
(evt) => { grflw1.autoPlace('horizontal') }
|
||||
(evt) => { grflw1.autoPlace('horizontal', 80, 30, 1000) }
|
||||
)
|
||||
document.querySelector('[data-trigger="onAutoplace1V"]').addEventListener('click',
|
||||
(evt) => { grflw1.autoPlace('vertical') }
|
||||
@@ -61,7 +61,7 @@
|
||||
(evt) => { grflw3.autoPlace('horizontal', 80, 80, 1000) }
|
||||
)
|
||||
document.querySelector('[data-trigger="onAutoplace3V"]').addEventListener('click',
|
||||
(evt) => { grflw3.autoPlace('vertical', 80, 80, 1000) }
|
||||
(evt) => { grflw3.autoPlace('vertical', 80, 50, 1000) }
|
||||
)
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user