darabos commited on
Commit
7f0196a
·
1 Parent(s): 01db704

Fix arrow edge color.

Browse files
lynxkite-app/web/src/index.css CHANGED
@@ -322,11 +322,6 @@ body {
322
  }
323
  }
324
 
325
- path.react-flow__edge-path {
326
- stroke-width: 2;
327
- stroke: black;
328
- }
329
-
330
  .react-flow__edge.selected path.react-flow__edge-path {
331
  outline: var(--xy-selection-border, var(--xy-selection-border-default));
332
  outline-offset: 10px;
 
322
  }
323
  }
324
 
 
 
 
 
 
325
  .react-flow__edge.selected path.react-flow__edge-path {
326
  outline: var(--xy-selection-border, var(--xy-selection-border-default));
327
  outline-offset: 10px;
lynxkite-app/web/src/workspace/Workspace.tsx CHANGED
@@ -282,7 +282,18 @@ function LynxKiteFlow() {
282
  proOptions={{ hideAttribution: true }}
283
  maxZoom={3}
284
  minZoom={0.3}
285
- defaultEdgeOptions={{ markerEnd: { type: MarkerType.Arrow } }}
 
 
 
 
 
 
 
 
 
 
 
286
  >
287
  <Controls />
288
  <MiniMap />
 
282
  proOptions={{ hideAttribution: true }}
283
  maxZoom={3}
284
  minZoom={0.3}
285
+ defaultEdgeOptions={{
286
+ markerEnd: {
287
+ type: MarkerType.ArrowClosed,
288
+ color: "black",
289
+ width: 15,
290
+ height: 15,
291
+ },
292
+ style: {
293
+ strokeWidth: 2,
294
+ stroke: "black",
295
+ },
296
+ }}
297
  >
298
  <Controls />
299
  <MiniMap />