+
+ {formatPinValue(pinType, value)}
+
+
+ ) : null;
+};
+
+PinValue.propTypes = {
+ value: PropTypes.string,
+ type: PropTypes.string,
+ deducedType: PropTypes.object,
+ direction: PropTypes.string.isRequired,
+ position: PropTypes.object.isRequired,
+};
+
+export default PinValue;
diff --git a/packages/xod-client/src/project/components/layers/BackgroundLayer.jsx b/packages/xod-client/src/project/components/layers/BackgroundLayer.jsx
index 19232b95..5a7f081d 100644
--- a/packages/xod-client/src/project/components/layers/BackgroundLayer.jsx
+++ b/packages/xod-client/src/project/components/layers/BackgroundLayer.jsx
@@ -4,19 +4,32 @@ import { noop } from 'xod-func-tools';
import { SLOT_SIZE, NODE_HEIGHT } from '../../nodeLayout';
+// Add 0.5 to compensate blurring of pattern
+const COMPENSATE_BLUR = 0.5;
+
const NodeSlotPattern = ({ offset }) => (