@rnacanvas/code 6.9.0 → 7.0.0
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/README.md +2 -2
- package/dist/main.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -74,9 +74,9 @@ centroid.get(); // { x: 912, y: 204 }
|
|
|
74
74
|
// all base-pairs in the secondary structure of the drawing
|
|
75
75
|
var basePairs = [...app.drawing.secondaryBonds].map(sb => [...sb.basePair]];
|
|
76
76
|
|
|
77
|
-
//
|
|
77
|
+
// untangle the bases
|
|
78
78
|
// (the default layout for the bases in a structure)
|
|
79
|
-
|
|
79
|
+
untangle(bases, basePairs, { spacing: 20, basePairSpacing: 10, hairpinLoopSpacing: 10 });
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
### Editing and styling drawing elements
|