Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ajuhos/react-flow-chart

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ajuhos/react-flow-chart - npm Package Compare versions

Comparing version 0.0.64 to 0.0.65

2

package.json
{
"name": "@ajuhos/react-flow-chart",
"version": "0.0.64",
"version": "0.0.65",
"description": "A flexible, stateless flow chart library for react.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -38,6 +38,6 @@ "use strict";

var link = _a.link, config = _a.config, linkColor = _a.linkColor, points = _a.points, isHovered = _a.isHovered, isSelected = _a.isSelected, startPos = _a.startPos, endPos = _a.endPos, onLinkMouseEnter = _a.onLinkMouseEnter, onLinkMouseLeave = _a.onLinkMouseLeave, onLinkClick = _a.onLinkClick;
var marker = { markerEnd: 'url(#arrowHead)' };
var startColor = config.linkGradientDelta ? lightenDarkenColor(linkColor, config.linkGradientDelta) : linkColor;
var endColor = config.linkGradientDelta ? lightenDarkenColor(linkColor, -config.linkGradientDelta) : linkColor;
var gradientName = linkColor.slice(1);
var marker = { markerEnd: "url(#" + gradientName + ")" };
return (React.createElement("svg", { style: {

@@ -51,3 +51,3 @@ overflow: 'visible',

React.createElement("defs", null,
React.createElement("marker", { id: "arrowHead", orient: "auto-start-reverse", markerWidth: "2", markerHeight: "4", refX: "0.1", refY: "2" },
React.createElement("marker", { id: "arrowHead" + gradientName, orient: "auto-start-reverse", markerWidth: "2", markerHeight: "4", refX: "0.1", refY: "2" },
React.createElement("path", { d: "M0,0 V4 L2,2 Z", fill: endColor })),

@@ -54,0 +54,0 @@ React.createElement("linearGradient", { id: "gradient" + gradientName + "A", x1: "0%", y1: "0%", x2: "0%", y2: "100%" },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc