Implemented 2D visualization for notes using Vue Flow
This commit is contained in:
22
node_modules/d3-selection/src/selection/enter.js
generated
vendored
Normal file
22
node_modules/d3-selection/src/selection/enter.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import sparse from "./sparse.js";
|
||||
import {Selection} from "./index.js";
|
||||
|
||||
export default function() {
|
||||
return new Selection(this._enter || this._groups.map(sparse), this._parents);
|
||||
}
|
||||
|
||||
export function EnterNode(parent, datum) {
|
||||
this.ownerDocument = parent.ownerDocument;
|
||||
this.namespaceURI = parent.namespaceURI;
|
||||
this._next = null;
|
||||
this._parent = parent;
|
||||
this.__data__ = datum;
|
||||
}
|
||||
|
||||
EnterNode.prototype = {
|
||||
constructor: EnterNode,
|
||||
appendChild: function(child) { return this._parent.insertBefore(child, this._next); },
|
||||
insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },
|
||||
querySelector: function(selector) { return this._parent.querySelector(selector); },
|
||||
querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }
|
||||
};
|
||||
Reference in New Issue
Block a user