@rnacanvas/draw 16.1.0 → 17.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/LICENSE +21 -21
- package/README.md +77 -77
- package/babel.config.js +6 -6
- package/dist/Drawing.d.ts +12 -8
- package/dist/Drawing.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/jest.config.js +13 -13
- package/package.json +45 -45
- package/tsconfig.json +14 -14
- package/webpack.config.js +28 -28
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 pzhaojohnson
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 pzhaojohnson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
|
|
3
|
-
With `npm`:
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
npm install @rnacanvas/draw
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
# Usage
|
|
10
|
-
|
|
11
|
-
All exports of this package can be accessed as named imports.
|
|
12
|
-
|
|
13
|
-
```javascript
|
|
14
|
-
// an example import
|
|
15
|
-
import { Drawing } from '@rnacanvas/draw';
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## `class Drawing`
|
|
19
|
-
|
|
20
|
-
A 2D nucleic acid structure drawing.
|
|
21
|
-
|
|
22
|
-
```javascript
|
|
23
|
-
var drawing = new Drawing();
|
|
24
|
-
|
|
25
|
-
// a drawing is just an SVG element
|
|
26
|
-
drawing.domNode instanceof SVGSVGElement; // true
|
|
27
|
-
|
|
28
|
-
// necessary for bounding box calculations to work
|
|
29
|
-
document.body.append(drawing.domNode);
|
|
30
|
-
|
|
31
|
-
var base1 = drawing.addBase('A');
|
|
32
|
-
var base2 = drawing.addBase('U');
|
|
33
|
-
|
|
34
|
-
base1.centerPoint.x = 0;
|
|
35
|
-
base1.centerPoint.y = 0;
|
|
36
|
-
|
|
37
|
-
base2.centerPoint.x = 20;
|
|
38
|
-
base2.centerPoint.y = 0;
|
|
39
|
-
|
|
40
|
-
var secondaryBond = drawing.addSecondaryBond(base1, base2);
|
|
41
|
-
|
|
42
|
-
// increase the size of the drawing to make everything visible
|
|
43
|
-
drawing.setPadding(100);
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### `addTertiaryBond()`
|
|
47
|
-
|
|
48
|
-
Creates a new tertiary bond (e.g., a curved bond)
|
|
49
|
-
between the two specified bases,
|
|
50
|
-
adds it to the drawing
|
|
51
|
-
and returns it.
|
|
52
|
-
|
|
53
|
-
```javascript
|
|
54
|
-
var base1 = drawing.addBase('G');
|
|
55
|
-
var base2 = drawing.addBase('C');
|
|
56
|
-
|
|
57
|
-
var tertiaryBond = drawing.addTertiaryBond(base1, base2);
|
|
58
|
-
|
|
59
|
-
tertiaryBond.base1 === base1; // true
|
|
60
|
-
tertiaryBond.base2 === base2; // true
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### `refreshIDs()`
|
|
64
|
-
|
|
65
|
-
Iterates through elements in the SVG document that is the drawing
|
|
66
|
-
(including all nested elements, as well as the SVG document node itself)
|
|
67
|
-
and assigns a new UUID to any element that previously had an ID assigned to it.
|
|
68
|
-
|
|
69
|
-
Elements without an ID are left unchanged.
|
|
70
|
-
|
|
71
|
-
```javascript
|
|
72
|
-
drawing.domNode.id = 'my-drawing';
|
|
73
|
-
|
|
74
|
-
drawing.refreshIDs();
|
|
75
|
-
|
|
76
|
-
drawing.domNode.id === 'my-drawing'; // false
|
|
77
|
-
```
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
With `npm`:
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm install @rnacanvas/draw
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
# Usage
|
|
10
|
+
|
|
11
|
+
All exports of this package can be accessed as named imports.
|
|
12
|
+
|
|
13
|
+
```javascript
|
|
14
|
+
// an example import
|
|
15
|
+
import { Drawing } from '@rnacanvas/draw';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## `class Drawing`
|
|
19
|
+
|
|
20
|
+
A 2D nucleic acid structure drawing.
|
|
21
|
+
|
|
22
|
+
```javascript
|
|
23
|
+
var drawing = new Drawing();
|
|
24
|
+
|
|
25
|
+
// a drawing is just an SVG element
|
|
26
|
+
drawing.domNode instanceof SVGSVGElement; // true
|
|
27
|
+
|
|
28
|
+
// necessary for bounding box calculations to work
|
|
29
|
+
document.body.append(drawing.domNode);
|
|
30
|
+
|
|
31
|
+
var base1 = drawing.addBase('A');
|
|
32
|
+
var base2 = drawing.addBase('U');
|
|
33
|
+
|
|
34
|
+
base1.centerPoint.x = 0;
|
|
35
|
+
base1.centerPoint.y = 0;
|
|
36
|
+
|
|
37
|
+
base2.centerPoint.x = 20;
|
|
38
|
+
base2.centerPoint.y = 0;
|
|
39
|
+
|
|
40
|
+
var secondaryBond = drawing.addSecondaryBond(base1, base2);
|
|
41
|
+
|
|
42
|
+
// increase the size of the drawing to make everything visible
|
|
43
|
+
drawing.setPadding(100);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### `addTertiaryBond()`
|
|
47
|
+
|
|
48
|
+
Creates a new tertiary bond (e.g., a curved bond)
|
|
49
|
+
between the two specified bases,
|
|
50
|
+
adds it to the drawing
|
|
51
|
+
and returns it.
|
|
52
|
+
|
|
53
|
+
```javascript
|
|
54
|
+
var base1 = drawing.addBase('G');
|
|
55
|
+
var base2 = drawing.addBase('C');
|
|
56
|
+
|
|
57
|
+
var tertiaryBond = drawing.addTertiaryBond(base1, base2);
|
|
58
|
+
|
|
59
|
+
tertiaryBond.base1 === base1; // true
|
|
60
|
+
tertiaryBond.base2 === base2; // true
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### `refreshIDs()`
|
|
64
|
+
|
|
65
|
+
Iterates through elements in the SVG document that is the drawing
|
|
66
|
+
(including all nested elements, as well as the SVG document node itself)
|
|
67
|
+
and assigns a new UUID to any element that previously had an ID assigned to it.
|
|
68
|
+
|
|
69
|
+
Elements without an ID are left unchanged.
|
|
70
|
+
|
|
71
|
+
```javascript
|
|
72
|
+
drawing.domNode.id = 'my-drawing';
|
|
73
|
+
|
|
74
|
+
drawing.refreshIDs();
|
|
75
|
+
|
|
76
|
+
drawing.domNode.id === 'my-drawing'; // false
|
|
77
|
+
```
|
package/babel.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
['@babel/preset-env', { targets: { node: 'current' } }],
|
|
4
|
-
'@babel/preset-typescript',
|
|
5
|
-
],
|
|
6
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
presets: [
|
|
3
|
+
['@babel/preset-env', { targets: { node: 'current' } }],
|
|
4
|
+
'@babel/preset-typescript',
|
|
5
|
+
],
|
|
6
|
+
};
|
package/dist/Drawing.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ export declare class Drawing {
|
|
|
214
214
|
*
|
|
215
215
|
* The ordering of bases in the returned iterable is the ordering of bases in the drawing.
|
|
216
216
|
*/
|
|
217
|
-
get bases():
|
|
217
|
+
get bases(): Elements<Nucleobase>;
|
|
218
218
|
set bases(bases: Iterable<Nucleobase>);
|
|
219
219
|
/**
|
|
220
220
|
* Appends the base both to the SVG document that is the drawing
|
|
@@ -232,9 +232,9 @@ export declare class Drawing {
|
|
|
232
232
|
* for the specified base with the specified number.
|
|
233
233
|
*/
|
|
234
234
|
number(b: Nucleobase, n: number): [Numbering, NumberingLine];
|
|
235
|
-
get numberings():
|
|
235
|
+
get numberings(): Elements<Numbering>;
|
|
236
236
|
set numberings(numberings: Iterable<Numbering>);
|
|
237
|
-
get numberingLines():
|
|
237
|
+
get numberingLines(): Elements<NumberingLine>;
|
|
238
238
|
set numberingLines(numberingLines: Iterable<NumberingLine>);
|
|
239
239
|
/**
|
|
240
240
|
* Add a numbering line to the drawing connecting the specified numbering to its owner base.
|
|
@@ -243,12 +243,12 @@ export declare class Drawing {
|
|
|
243
243
|
/**
|
|
244
244
|
* The base outlines in the drawing.
|
|
245
245
|
*/
|
|
246
|
-
get baseOutlines():
|
|
246
|
+
get baseOutlines(): Elements<BaseOutline>;
|
|
247
247
|
set baseOutlines(baseOutlines: Iterable<BaseOutline>);
|
|
248
248
|
/**
|
|
249
249
|
* Shorthand for `get baseOutlines()`.
|
|
250
250
|
*/
|
|
251
|
-
get outlines():
|
|
251
|
+
get outlines(): Elements<BaseOutline>;
|
|
252
252
|
/**
|
|
253
253
|
* Adds an outline for the base to the drawing
|
|
254
254
|
* and returns the newly created base outline.
|
|
@@ -270,7 +270,7 @@ export declare class Drawing {
|
|
|
270
270
|
*
|
|
271
271
|
* The returned iterable also specifies the order of primary bonds in the drawing.
|
|
272
272
|
*/
|
|
273
|
-
get primaryBonds():
|
|
273
|
+
get primaryBonds(): Elements<PrimaryBond>;
|
|
274
274
|
set primaryBonds(primaryBonds: Iterable<PrimaryBond>);
|
|
275
275
|
/**
|
|
276
276
|
* Appends the primary bond both to the SVG document that is the drawing
|
|
@@ -291,7 +291,7 @@ export declare class Drawing {
|
|
|
291
291
|
*
|
|
292
292
|
* The returned iterable also specifies the order of secondary bonds in the drawing.
|
|
293
293
|
*/
|
|
294
|
-
get secondaryBonds():
|
|
294
|
+
get secondaryBonds(): Elements<SecondaryBond>;
|
|
295
295
|
set secondaryBonds(secondaryBonds: Iterable<SecondaryBond>);
|
|
296
296
|
/**
|
|
297
297
|
* Appends the secondary bond to both the SVG document that is the drawing
|
|
@@ -304,7 +304,7 @@ export declare class Drawing {
|
|
|
304
304
|
* Returns the newly added secondary bond.
|
|
305
305
|
*/
|
|
306
306
|
addSecondaryBond(base1: Nucleobase, base2: Nucleobase): SecondaryBond;
|
|
307
|
-
get tertiaryBonds():
|
|
307
|
+
get tertiaryBonds(): Elements<TertiaryBond>;
|
|
308
308
|
set tertiaryBonds(tertiaryBonds: Iterable<TertiaryBond>);
|
|
309
309
|
/**
|
|
310
310
|
* Creates a new tertiary bond between the two bases, adds it to the drawing and returns it.
|
|
@@ -451,5 +451,9 @@ export declare class Drawing {
|
|
|
451
451
|
*/
|
|
452
452
|
refreshIDs(): void;
|
|
453
453
|
}
|
|
454
|
+
interface Elements<T> {
|
|
455
|
+
[Symbol.iterator](): Iterator<T>;
|
|
456
|
+
toArray(): T[];
|
|
457
|
+
}
|
|
454
458
|
export {};
|
|
455
459
|
//# sourceMappingURL=Drawing.d.ts.map
|
package/dist/Drawing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawing.d.ts","sourceRoot":"","sources":["../src/Drawing.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAMnD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAuB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAyB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE/E,OAAO,KAAK,EAAE,Y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