|  | @@ -11,9 +11,9 @@
 | 
	
		
			
				|  |  |        :width="width"
 | 
	
		
			
				|  |  |        :height="height">
 | 
	
		
			
				|  |  |        <defs>
 | 
	
		
			
				|  |  | -        <marker id="head" orient="auto" markerWidth="2" markerHeight="4"
 | 
	
		
			
				|  |  | -                refX="0.1" refY="2">
 | 
	
		
			
				|  |  | -          <path d="M0,0 V4 L2,2 Z" fill="rgba(0,0,0,0.5)"/>
 | 
	
		
			
				|  |  | +        <marker id="head" class="flow-link__head" orient="auto" markerWidth="4" markerHeight="8"
 | 
	
		
			
				|  |  | +                refX="0.1" refY="4">
 | 
	
		
			
				|  |  | +          <path d="M0,0 V8 L4,4 Z"/>
 | 
	
		
			
				|  |  |          </marker>
 | 
	
		
			
				|  |  |          <filter
 | 
	
		
			
				|  |  |            id="highlight-border"
 | 
	
	
		
			
				|  | @@ -26,12 +26,12 @@
 | 
	
		
			
				|  |  |            <feMorphology in="SourceGraphic" result="MORPH" operator="dilate" radius="1" />
 | 
	
		
			
				|  |  |            <feColorMatrix
 | 
	
		
			
				|  |  |              in="MORPH" result="BORDER" type="matrix"
 | 
	
		
			
				|  |  | -            values=".4 0 0 0 0, 0 .4 0 0 0, 0 0 .4 0 0, 0 0 0 .7 0"/>
 | 
	
		
			
				|  |  | +            values=".2 0 0 0 0, 0 .2 0 0 0, 0 0 .2 0 0, 0 0 0 .7 0"/>
 | 
	
		
			
				|  |  |            <feColorMatrix
 | 
	
		
			
				|  |  |              result = "matrixOut"
 | 
	
		
			
				|  |  |              in = "SourceGraphic"
 | 
	
		
			
				|  |  |              type = "matrix"
 | 
	
		
			
				|  |  | -            values = ".7 0 0 0 0,  0 .7 0 0 0,  0 0 .7 0 0,  0 0 0 1 0"/>
 | 
	
		
			
				|  |  | +            values = ".5 0 0 0 0,  0 .5 0 0 0,  0 0 .5 0 0,  0 0 0 1 0"/>
 | 
	
		
			
				|  |  |            <feGaussianBlur
 | 
	
		
			
				|  |  |              result="blurOut"
 | 
	
		
			
				|  |  |              in="matrixOut"
 | 
	
	
		
			
				|  | @@ -75,6 +75,13 @@
 | 
	
		
			
				|  |  |        <flow-pan-zoom
 | 
	
		
			
				|  |  |          ref="panzoom"
 | 
	
		
			
				|  |  |          v-model="panzoom">
 | 
	
		
			
				|  |  | +        <flow-link
 | 
	
		
			
				|  |  | +          v-for="(link,i) in nodeData.links"
 | 
	
		
			
				|  |  | +          :key="i"
 | 
	
		
			
				|  |  | +          v-bind="linkProps(link)"
 | 
	
		
			
				|  |  | +          @click="linkRemove(link)"
 | 
	
		
			
				|  |  | +        />
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          <!-- mouse link-->
 | 
	
		
			
				|  |  |          <flow-node
 | 
	
		
			
				|  |  |            ref="nodes"
 | 
	
	
		
			
				|  | @@ -86,12 +93,7 @@
 | 
	
		
			
				|  |  |            @socketPointerDown="socketPointerDown(n.id,...arguments)"
 | 
	
		
			
				|  |  |          />
 | 
	
		
			
				|  |  |          <flow-link
 | 
	
		
			
				|  |  | -          v-for="(link,i) in nodeData.links"
 | 
	
		
			
				|  |  | -          :key="i"
 | 
	
		
			
				|  |  | -          v-bind="linkProps(link)"
 | 
	
		
			
				|  |  | -          @click="linkRemove(link)"
 | 
	
		
			
				|  |  | -        />
 | 
	
		
			
				|  |  | -        <flow-link
 | 
	
		
			
				|  |  | +          :pointer="true"
 | 
	
		
			
				|  |  |            v-if="pointerLink.active"
 | 
	
		
			
				|  |  |            v-bind="pointerLink.props"
 | 
	
		
			
				|  |  |          />
 | 
	
	
		
			
				|  | @@ -240,6 +242,7 @@ export default {
 | 
	
		
			
				|  |  |      // XXX: Shrink this function
 | 
	
		
			
				|  |  |      // and create some LinkAdd method
 | 
	
		
			
				|  |  |      socketPointerDown (nodeId, ev, socket) {
 | 
	
		
			
				|  |  | +      if (ev.button !== 0) return
 | 
	
		
			
				|  |  |        const nodeRef = this.$refs.nodes.find(n => n.id === nodeId)
 | 
	
		
			
				|  |  |        const node = this.nodeData.nodes.find(n => n.id === nodeId)
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -479,24 +482,20 @@ function guid () {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /* Override flow-node */
 | 
	
		
			
				|  |  |  .flow-node__socket {
 | 
	
		
			
				|  |  | +  pointer-events: none;
 | 
	
		
			
				|  |  |    fill:transparent !important;
 | 
	
		
			
				|  |  |    stroke:transparent !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  .flow-linking .flow-node__socket {
 | 
	
		
			
				|  |  | +  pointer-events: initial;
 | 
	
		
			
				|  |  |    fill: #444 !important;
 | 
	
		
			
				|  |  |    stroke: #444 !important;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.flow-linking .flow-node__socket:hover {
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  |  .flow-linking .flow-node__socket--match,
 | 
	
		
			
				|  |  |  .flow-node__socket--match {
 | 
	
		
			
				|  |  |    stroke:#2f2 !important;
 | 
	
		
			
				|  |  |    fill:#2f2 !important;
 | 
	
		
			
				|  |  |    filter: url(#highlight-border);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -.flow-linking .flow-node__socket--match:hover {
 | 
	
		
			
				|  |  | -  stroke:#0F0 !important;
 | 
	
		
			
				|  |  | -  fill:#0F0 !important;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  </style>
 |