Skip to content

Commit

Permalink
Turn off triangle for now for schema view due to rendering issues (#120)
Browse files Browse the repository at this point in the history
* Fix start and end arrow rendering in special case for schema view

* Turn off triangle for now

* Run linters

---------

Co-authored-by: Lint Bot <[email protected]>
  • Loading branch information
mewim and mewim authored Mar 20, 2024
1 parent 954ba61 commit e2f4561
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/components/SchemaView/SchemaViewMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,12 @@ export default {
opacity: 1,
style: {
stroke: "#e2e2e2",
endArrow: {
path: G6.Arrow.triangle(),
fill: "#e2e2e2",
}
endArrow: true,
// TODO: investigate why the endArrow causes rendering issues
// endArrow: {
// path: G6.Arrow.triangle(),
// fill: "#e2e2e2",
// }
},
labelCfg: {
style: {
Expand All @@ -328,17 +330,17 @@ export default {
edgeStateStyles: {
hover: {
stroke: '#1890FF',
endArrow: {
path: G6.Arrow.triangle(),
fill: "#1890FF",
},
// endArrow: {
// path: G6.Arrow.triangle(),
// fill: "#1890FF",
// },
},
click: {
stroke: '#1848FF',
endArrow: {
path: G6.Arrow.triangle(),
fill: "#1848FF",
},
// endArrow: {
// path: G6.Arrow.triangle(),
// fill: "#1848FF",
// },
},
},
modes: {
Expand Down

0 comments on commit e2f4561

Please sign in to comment.