Generated by Spark: Its not bad but when I click from top to bottom: fine. then when i do vice versa, arrow points wrong way

This commit is contained in:
2026-01-16 17:53:49 +00:00
committed by GitHub
parent 31859acc4a
commit eb46c35082

View File

@@ -150,8 +150,7 @@ const STATUSES = ['idea', 'planned', 'in-progress', 'completed'] as const
const CONNECTION_STYLE = {
stroke: '#a78bfa',
strokeWidth: 2.5,
markerEnd: MarkerType.ArrowClosed
strokeWidth: 2.5
}
const STATUS_COLORS = {
@@ -598,7 +597,7 @@ export function FeatureIdeaCloud() {
type: 'default',
data: { label: 'relates to' },
markerEnd: {
type: CONNECTION_STYLE.markerEnd,
type: MarkerType.ArrowClosed,
color: CONNECTION_STYLE.stroke,
width: 20,
height: 20
@@ -881,7 +880,7 @@ export function FeatureIdeaCloud() {
...selectedEdge,
data: selectedEdge.data,
markerEnd: {
type: CONNECTION_STYLE.markerEnd,
type: MarkerType.ArrowClosed,
color: CONNECTION_STYLE.stroke,
width: 20,
height: 20