@yanqirenshi/d3.ter 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,8 +19,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
19
19
 
20
20
  function D3Ter(props) {
21
21
  var rectum = props.rectum;
22
+ var id = props.id || "d3-ter-graph";
22
23
  return /*#__PURE__*/_react["default"].createElement(_assh0le["default"], {
23
- id: "d3-network-graph",
24
+ id: id,
24
25
  rectum: rectum
25
26
  });
26
27
  }
package/dist/js/Entity.js CHANGED
@@ -421,13 +421,6 @@ var Entity = /*#__PURE__*/function (_Atman) {
421
421
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
422
422
  var attribute = _step2.value;
423
423
  var master = masters[attribute.attribute];
424
-
425
- if (!master) {
426
- console.error(this);
427
- console.error(attribute);
428
- throw new Error('Attribute not found: ' + attribute.attribute);
429
- }
430
-
431
424
  var element = new _AttributeInstance["default"](master, attribute);
432
425
  element._entity = this;
433
426
  out.list.push(element);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanqirenshi/d3.ter",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "author": "yanqirenshi@gmail.com",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "description": "See `src/index.html`",