1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = getNodesByType;
|
7 | function getNodesByType(graph, type) {
|
8 | var list = graph.types[type];
|
9 | if (!list) {
|
10 | list = graph.types[type] = [];
|
11 | }
|
12 | return list;
|
13 | } |
\ | No newline at end of file |