megane-viewer 0.3.0 → 0.3.2
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.
- package/dist/widget.js +33 -2
- package/package.json +1 -1
package/dist/widget.js
CHANGED
|
@@ -36403,10 +36403,36 @@ function gF() {
|
|
|
36403
36403
|
function vF() {
|
|
36404
36404
|
return {
|
|
36405
36405
|
nodes: [
|
|
36406
|
+
{
|
|
36407
|
+
id: "loader-1",
|
|
36408
|
+
type: "load_structure",
|
|
36409
|
+
position: { x: 425, y: 0 },
|
|
36410
|
+
data: {
|
|
36411
|
+
params: {
|
|
36412
|
+
type: "load_structure",
|
|
36413
|
+
fileName: "",
|
|
36414
|
+
hasTrajectory: !1,
|
|
36415
|
+
hasCell: !1
|
|
36416
|
+
},
|
|
36417
|
+
enabled: !0
|
|
36418
|
+
}
|
|
36419
|
+
},
|
|
36420
|
+
{
|
|
36421
|
+
id: "addbond-1",
|
|
36422
|
+
type: "add_bond",
|
|
36423
|
+
position: { x: 425, y: 255 },
|
|
36424
|
+
data: {
|
|
36425
|
+
params: {
|
|
36426
|
+
type: "add_bond",
|
|
36427
|
+
bondSource: "structure"
|
|
36428
|
+
},
|
|
36429
|
+
enabled: !0
|
|
36430
|
+
}
|
|
36431
|
+
},
|
|
36406
36432
|
{
|
|
36407
36433
|
id: "viewport-1",
|
|
36408
36434
|
type: "viewport",
|
|
36409
|
-
position: { x: 425, y:
|
|
36435
|
+
position: { x: 425, y: 510 },
|
|
36410
36436
|
data: {
|
|
36411
36437
|
params: {
|
|
36412
36438
|
type: "viewport",
|
|
@@ -36417,7 +36443,12 @@ function vF() {
|
|
|
36417
36443
|
}
|
|
36418
36444
|
}
|
|
36419
36445
|
],
|
|
36420
|
-
edges: [
|
|
36446
|
+
edges: [
|
|
36447
|
+
{ id: "e1", source: "loader-1", target: "addbond-1", sourceHandle: "particle", targetHandle: "particle" },
|
|
36448
|
+
{ id: "e2", source: "addbond-1", target: "viewport-1", sourceHandle: "bond", targetHandle: "bond" },
|
|
36449
|
+
{ id: "e3", source: "loader-1", target: "viewport-1", sourceHandle: "particle", targetHandle: "particle" },
|
|
36450
|
+
{ id: "e4", source: "loader-1", target: "viewport-1", sourceHandle: "cell", targetHandle: "cell" }
|
|
36451
|
+
]
|
|
36421
36452
|
};
|
|
36422
36453
|
}
|
|
36423
36454
|
function _F() {
|