@graphty/graph-io 0.3.47 → 0.3.49
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/chunks/{approximations-wWjCRzKj.js → approximations-Bzn3L-je.js} +2 -2
- package/dist/chunks/{approximations-wWjCRzKj.js.map → approximations-Bzn3L-je.js.map} +1 -1
- package/dist/chunks/bends-BGXjv_U4.js +129 -0
- package/dist/chunks/bends-BGXjv_U4.js.map +1 -0
- package/dist/chunks/{block-DiGq58c3.js → block-iptrlMBb.js} +947 -134
- package/dist/chunks/block-iptrlMBb.js.map +1 -0
- package/dist/chunks/choose-CczZJaX_.js +717 -0
- package/dist/chunks/choose-CczZJaX_.js.map +1 -0
- package/dist/chunks/codes-BE2xir2k.js +157 -0
- package/dist/chunks/codes-BE2xir2k.js.map +1 -0
- package/dist/chunks/{constants-BKwqelYD.js → constants-CKkYLPtt.js} +2 -2
- package/dist/chunks/{constants-BKwqelYD.js.map → constants-CKkYLPtt.js.map} +1 -1
- package/dist/chunks/context-C3p0RQxR.js +664 -0
- package/dist/chunks/context-C3p0RQxR.js.map +1 -0
- package/dist/chunks/{convert-BcQ8_jMo.js → convert-Ct2zelbQ.js} +7 -2
- package/dist/chunks/convert-Ct2zelbQ.js.map +1 -0
- package/dist/chunks/credentials-DXHx7nwR.js +349 -0
- package/dist/chunks/credentials-DXHx7nwR.js.map +1 -0
- package/dist/chunks/cx-export-Bt6NoqTQ.js +259 -0
- package/dist/chunks/cx-export-Bt6NoqTQ.js.map +1 -0
- package/dist/chunks/descriptor-B28U25x4.js +60 -0
- package/dist/chunks/descriptor-B28U25x4.js.map +1 -0
- package/dist/chunks/descriptor-C-YDhtsn.js +48 -0
- package/dist/chunks/descriptor-C-YDhtsn.js.map +1 -0
- package/dist/chunks/descriptor-DLA5kINx.js +142 -0
- package/dist/chunks/descriptor-DLA5kINx.js.map +1 -0
- package/dist/chunks/{emit-CwU8cUmG.js → emit-BwHQkZle.js} +1690 -103
- package/dist/chunks/emit-BwHQkZle.js.map +1 -0
- package/dist/chunks/{escape-CgzxiYPg.js → escape-CuCIzNMB.js} +12 -12
- package/dist/chunks/{escape-CgzxiYPg.js.map → escape-CuCIzNMB.js.map} +1 -1
- package/dist/chunks/{export-BvqAXCKh.js → export-Cha4dRFz.js} +48 -1780
- package/dist/chunks/export-Cha4dRFz.js.map +1 -0
- package/dist/chunks/{exporter--Mk9gXCJ.js → exporter-BP6otMO6.js} +6 -4
- package/dist/chunks/{exporter--Mk9gXCJ.js.map → exporter-BP6otMO6.js.map} +1 -1
- package/dist/chunks/{exporter-CrDWIyiq.js → exporter-D2CETOMK.js} +1222 -154
- package/dist/chunks/exporter-D2CETOMK.js.map +1 -0
- package/dist/chunks/{exporter-DndFlGSa.js → exporter-D9yMtocA.js} +7 -6
- package/dist/chunks/{exporter-DndFlGSa.js.map → exporter-D9yMtocA.js.map} +1 -1
- package/dist/chunks/exporter-_jrBTnos.js +1009 -0
- package/dist/chunks/exporter-_jrBTnos.js.map +1 -0
- package/dist/chunks/{exporter-CJgfhF-l.js → exporter-nDfxIK5D.js} +9 -7
- package/dist/chunks/{exporter-CJgfhF-l.js.map → exporter-nDfxIK5D.js.map} +1 -1
- package/dist/chunks/format-BXiAb-1h.js +408 -0
- package/dist/chunks/format-BXiAb-1h.js.map +1 -0
- package/dist/chunks/{generic-Dq1ntt9q.js → generic-ymWCETAJ.js} +387 -31
- package/dist/chunks/generic-ymWCETAJ.js.map +1 -0
- package/dist/chunks/{importer-CMmeMWlC.js → importer-B92x1xY5.js} +15 -263
- package/dist/chunks/importer-B92x1xY5.js.map +1 -0
- package/dist/chunks/{importer-DiZRmOQG.js → importer-CT9mJ1nn.js} +328 -90
- package/dist/chunks/importer-CT9mJ1nn.js.map +1 -0
- package/dist/chunks/{importer-COTK9Tsl.js → importer-DaLTjbds.js} +116 -1099
- package/dist/chunks/importer-DaLTjbds.js.map +1 -0
- package/dist/chunks/{importer-iFYPEKaJ.js → importer-GREKMdIf.js} +28 -16
- package/dist/chunks/importer-GREKMdIf.js.map +1 -0
- package/dist/chunks/{importer-BSvfrX_h.js → importer-PqaaKKnY.js} +23 -1016
- package/dist/chunks/importer-PqaaKKnY.js.map +1 -0
- package/dist/chunks/{importer-yh_aBCU6.js → importer-Vn5QvmmJ.js} +66 -12
- package/dist/chunks/importer-Vn5QvmmJ.js.map +1 -0
- package/dist/chunks/{importer-e6LGpqHB.js → importer-vRq4h3j5.js} +1470 -354
- package/dist/chunks/importer-vRq4h3j5.js.map +1 -0
- package/dist/chunks/input-CAxt_aV-.js +1397 -0
- package/dist/chunks/input-CAxt_aV-.js.map +1 -0
- package/dist/chunks/{json-elements-DJZRZ6jd.js → json-elements-Cq76WjnZ.js} +4 -4
- package/dist/chunks/{json-elements-DJZRZ6jd.js.map → json-elements-Cq76WjnZ.js.map} +1 -1
- package/dist/chunks/{lexicon-CT69Kd87.js → lexicon-Clf4QIyl.js} +299 -77
- package/dist/chunks/lexicon-Clf4QIyl.js.map +1 -0
- package/dist/chunks/{ontology-export-G4MqRdux.js → ontology-export-OMo91mb0.js} +4 -3
- package/dist/chunks/{ontology-export-G4MqRdux.js.map → ontology-export-OMo91mb0.js.map} +1 -1
- package/dist/chunks/{records-CiaWZrFH.js → records-NJiYvekn.js} +2 -2
- package/dist/chunks/{records-CiaWZrFH.js.map → records-NJiYvekn.js.map} +1 -1
- package/dist/chunks/{format-BpQBx8MZ.js → report-CwMfYa9J.js} +70 -127
- package/dist/chunks/report-CwMfYa9J.js.map +1 -0
- package/dist/chunks/round-trip-Zm3_ivgq.js +79 -0
- package/dist/chunks/round-trip-Zm3_ivgq.js.map +1 -0
- package/dist/chunks/sigv4-EokFic1V.js +247 -0
- package/dist/chunks/sigv4-EokFic1V.js.map +1 -0
- package/dist/chunks/{styles-BQnsga7p.js → styles-CCs214_3.js} +1300 -168
- package/dist/chunks/styles-CCs214_3.js.map +1 -0
- package/dist/chunks/styles-Cm62yyQX.js +2812 -0
- package/dist/chunks/styles-Cm62yyQX.js.map +1 -0
- package/dist/chunks/styles-DPQQIig4.js +1928 -0
- package/dist/chunks/styles-DPQQIig4.js.map +1 -0
- package/dist/chunks/styles-yed-UMFdNqze.js +1213 -0
- package/dist/chunks/styles-yed-UMFdNqze.js.map +1 -0
- package/dist/chunks/{text-CzJNFOS9.js → text-ystE2bYi.js} +2 -2
- package/dist/chunks/{text-CzJNFOS9.js.map → text-ystE2bYi.js.map} +1 -1
- package/dist/csv.js +7 -5
- package/dist/csv.js.map +1 -1
- package/dist/cx.js +5 -4
- package/dist/cx.js.map +1 -1
- package/dist/cx2.js +2 -2
- package/dist/cys.js +1 -1
- package/dist/dot.js +5 -4
- package/dist/dot.js.map +1 -1
- package/dist/gexf.js +42 -10
- package/dist/gexf.js.map +1 -1
- package/dist/gml.js +850 -193
- package/dist/gml.js.map +1 -1
- package/dist/graph-io.js +1189 -220
- package/dist/graph-io.js.map +1 -1
- package/dist/graphml.js +3 -3
- package/dist/json.js +3 -2
- package/dist/neo4j.js +6 -4
- package/dist/neo4j.js.map +1 -1
- package/dist/obo.js +1 -1
- package/dist/pajek.js +1 -1
- package/dist/positions.js +45 -3
- package/dist/positions.js.map +1 -1
- package/dist/sources-cypher.d.ts +1 -0
- package/dist/sources-cypher.js +1351 -0
- package/dist/sources-cypher.js.map +1 -0
- package/dist/sources-ndex.d.ts +1 -0
- package/dist/sources-ndex.js +278 -0
- package/dist/sources-ndex.js.map +1 -0
- package/dist/sources-rest.d.ts +1 -0
- package/dist/sources-rest.js +1377 -0
- package/dist/sources-rest.js.map +1 -0
- package/dist/sources-sparql.d.ts +1 -0
- package/dist/sources-sparql.js +405 -0
- package/dist/sources-sparql.js.map +1 -0
- package/dist/src/common/report.d.ts +6 -3
- package/dist/src/common/report.d.ts.map +1 -1
- package/dist/src/common/report.js +15 -9
- package/dist/src/common/report.js.map +1 -1
- package/dist/src/formats/cx/importer.d.ts.map +1 -1
- package/dist/src/formats/cx/importer.js +5 -1
- package/dist/src/formats/cx/importer.js.map +1 -1
- package/dist/src/formats/cx/styles.d.ts +24 -1
- package/dist/src/formats/cx/styles.d.ts.map +1 -1
- package/dist/src/formats/cx/styles.js +118 -11
- package/dist/src/formats/cx/styles.js.map +1 -1
- package/dist/src/formats/cx2/importer.d.ts.map +1 -1
- package/dist/src/formats/cx2/importer.js +1 -0
- package/dist/src/formats/cx2/importer.js.map +1 -1
- package/dist/src/formats/cx2/styles.d.ts.map +1 -1
- package/dist/src/formats/cx2/styles.js +3 -1
- package/dist/src/formats/cx2/styles.js.map +1 -1
- package/dist/src/formats/cys/importer.d.ts.map +1 -1
- package/dist/src/formats/cys/importer.js +1 -0
- package/dist/src/formats/cys/importer.js.map +1 -1
- package/dist/src/formats/cys/styles.d.ts +2 -0
- package/dist/src/formats/cys/styles.d.ts.map +1 -1
- package/dist/src/formats/cys/styles.js +15 -7
- package/dist/src/formats/cys/styles.js.map +1 -1
- package/dist/src/formats/dot/drawing.d.ts +98 -0
- package/dist/src/formats/dot/drawing.d.ts.map +1 -0
- package/dist/src/formats/dot/drawing.js +734 -0
- package/dist/src/formats/dot/drawing.js.map +1 -0
- package/dist/src/formats/dot/importer.d.ts.map +1 -1
- package/dist/src/formats/dot/importer.js +108 -31
- package/dist/src/formats/dot/importer.js.map +1 -1
- package/dist/src/formats/dot/label-places.d.ts +34 -0
- package/dist/src/formats/dot/label-places.d.ts.map +1 -0
- package/dist/src/formats/dot/label-places.js +179 -0
- package/dist/src/formats/dot/label-places.js.map +1 -0
- package/dist/src/formats/dot/record.d.ts +50 -0
- package/dist/src/formats/dot/record.d.ts.map +1 -0
- package/dist/src/formats/dot/record.js +275 -0
- package/dist/src/formats/dot/record.js.map +1 -0
- package/dist/src/formats/dot/styles.d.ts +62 -2
- package/dist/src/formats/dot/styles.d.ts.map +1 -1
- package/dist/src/formats/dot/styles.js +1457 -120
- package/dist/src/formats/dot/styles.js.map +1 -1
- package/dist/src/formats/gexf/dialog-metrics.d.ts +15 -0
- package/dist/src/formats/gexf/dialog-metrics.d.ts.map +1 -0
- package/dist/src/formats/gexf/dialog-metrics.js +59 -0
- package/dist/src/formats/gexf/dialog-metrics.js.map +1 -0
- package/dist/src/formats/gexf/importer.d.ts +7 -0
- package/dist/src/formats/gexf/importer.d.ts.map +1 -1
- package/dist/src/formats/gexf/importer.js +41 -5
- package/dist/src/formats/gexf/importer.js.map +1 -1
- package/dist/src/formats/gexf/preview.d.ts +77 -0
- package/dist/src/formats/gexf/preview.d.ts.map +1 -0
- package/dist/src/formats/gexf/preview.js +191 -0
- package/dist/src/formats/gexf/preview.js.map +1 -0
- package/dist/src/formats/gexf/schema.d.ts.map +1 -1
- package/dist/src/formats/gexf/schema.js +2 -1
- package/dist/src/formats/gexf/schema.js.map +1 -1
- package/dist/src/formats/gexf/styles.d.ts +60 -16
- package/dist/src/formats/gexf/styles.d.ts.map +1 -1
- package/dist/src/formats/gexf/styles.js +883 -131
- package/dist/src/formats/gexf/styles.js.map +1 -1
- package/dist/src/formats/gml/importer.d.ts +5 -2
- package/dist/src/formats/gml/importer.d.ts.map +1 -1
- package/dist/src/formats/gml/importer.js +258 -71
- package/dist/src/formats/gml/importer.js.map +1 -1
- package/dist/src/formats/gml/index.d.ts +1 -1
- package/dist/src/formats/gml/index.d.ts.map +1 -1
- package/dist/src/formats/gml/index.js +1 -1
- package/dist/src/formats/gml/index.js.map +1 -1
- package/dist/src/formats/gml/positions.d.ts +7 -0
- package/dist/src/formats/gml/positions.d.ts.map +1 -1
- package/dist/src/formats/gml/positions.js +29 -7
- package/dist/src/formats/gml/positions.js.map +1 -1
- package/dist/src/formats/gml/styles.d.ts.map +1 -1
- package/dist/src/formats/gml/styles.js +756 -103
- package/dist/src/formats/gml/styles.js.map +1 -1
- package/dist/src/formats/graphml/styles-plain.d.ts.map +1 -1
- package/dist/src/formats/graphml/styles-plain.js +8 -12
- package/dist/src/formats/graphml/styles-plain.js.map +1 -1
- package/dist/src/formats/graphml/styles-yed.d.ts +21 -15
- package/dist/src/formats/graphml/styles-yed.d.ts.map +1 -1
- package/dist/src/formats/graphml/styles-yed.js +749 -148
- package/dist/src/formats/graphml/styles-yed.js.map +1 -1
- package/dist/src/formats/graphml/styles-yfiles3.d.ts +1 -1
- package/dist/src/formats/graphml/styles-yfiles3.d.ts.map +1 -1
- package/dist/src/formats/graphml/styles-yfiles3.js +429 -64
- package/dist/src/formats/graphml/styles-yfiles3.js.map +1 -1
- package/dist/src/formats/graphml/yfiles.d.ts +3 -3
- package/dist/src/formats/graphml/yfiles.d.ts.map +1 -1
- package/dist/src/formats/graphml/yfiles.js +16 -6
- package/dist/src/formats/graphml/yfiles.js.map +1 -1
- package/dist/src/formats/json/dialect.d.ts +3 -2
- package/dist/src/formats/json/dialect.d.ts.map +1 -1
- package/dist/src/formats/json/dialect.js +39 -5
- package/dist/src/formats/json/dialect.js.map +1 -1
- package/dist/src/formats/json/importer.d.ts +13 -2
- package/dist/src/formats/json/importer.d.ts.map +1 -1
- package/dist/src/formats/json/importer.js +42 -6
- package/dist/src/formats/json/importer.js.map +1 -1
- package/dist/src/formats/json/index.d.ts +1 -1
- package/dist/src/formats/json/index.d.ts.map +1 -1
- package/dist/src/formats/json/index.js +1 -1
- package/dist/src/formats/json/index.js.map +1 -1
- package/dist/src/formats/json/positions.d.ts +5 -2
- package/dist/src/formats/json/positions.d.ts.map +1 -1
- package/dist/src/formats/json/positions.js +20 -4
- package/dist/src/formats/json/positions.js.map +1 -1
- package/dist/src/formats/json/styles.d.ts +12 -1
- package/dist/src/formats/json/styles.d.ts.map +1 -1
- package/dist/src/formats/json/styles.js +1755 -136
- package/dist/src/formats/json/styles.js.map +1 -1
- package/dist/src/formats/pajek/draw.d.ts +96 -0
- package/dist/src/formats/pajek/draw.d.ts.map +1 -0
- package/dist/src/formats/pajek/draw.js +372 -0
- package/dist/src/formats/pajek/draw.js.map +1 -0
- package/dist/src/formats/pajek/exporter.d.ts.map +1 -1
- package/dist/src/formats/pajek/exporter.js +70 -51
- package/dist/src/formats/pajek/exporter.js.map +1 -1
- package/dist/src/formats/pajek/importer.d.ts +9 -0
- package/dist/src/formats/pajek/importer.d.ts.map +1 -1
- package/dist/src/formats/pajek/importer.js +233 -102
- package/dist/src/formats/pajek/importer.js.map +1 -1
- package/dist/src/formats/pajek/index.d.ts +1 -0
- package/dist/src/formats/pajek/index.d.ts.map +1 -1
- package/dist/src/formats/pajek/index.js.map +1 -1
- package/dist/src/formats/pajek/styles.d.ts +15 -7
- package/dist/src/formats/pajek/styles.d.ts.map +1 -1
- package/dist/src/formats/pajek/styles.js +1279 -114
- package/dist/src/formats/pajek/styles.js.map +1 -1
- package/dist/src/formats/pajek/syntax.d.ts +10 -1
- package/dist/src/formats/pajek/syntax.d.ts.map +1 -1
- package/dist/src/formats/pajek/syntax.js +26 -2
- package/dist/src/formats/pajek/syntax.js.map +1 -1
- package/dist/src/formats/xgmml/emit.d.ts +1 -0
- package/dist/src/formats/xgmml/emit.d.ts.map +1 -1
- package/dist/src/formats/xgmml/emit.js +65 -5
- package/dist/src/formats/xgmml/emit.js.map +1 -1
- package/dist/src/formats/xgmml/styles.d.ts +23 -3
- package/dist/src/formats/xgmml/styles.d.ts.map +1 -1
- package/dist/src/formats/xgmml/styles.js +278 -60
- package/dist/src/formats/xgmml/styles.js.map +1 -1
- package/dist/src/index.d.ts +10 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/positions/convert.d.ts.map +1 -1
- package/dist/src/positions/convert.js +11 -1
- package/dist/src/positions/convert.js.map +1 -1
- package/dist/src/positions/extract.d.ts.map +1 -1
- package/dist/src/positions/extract.js +53 -1
- package/dist/src/positions/extract.js.map +1 -1
- package/dist/src/positions/index.d.ts +1 -1
- package/dist/src/positions/index.d.ts.map +1 -1
- package/dist/src/positions/types.d.ts +59 -0
- package/dist/src/positions/types.d.ts.map +1 -1
- package/dist/src/registry.d.ts +173 -1
- package/dist/src/registry.d.ts.map +1 -1
- package/dist/src/registry.js +196 -1
- package/dist/src/registry.js.map +1 -1
- package/dist/src/sources/builtins.d.ts +11 -0
- package/dist/src/sources/builtins.d.ts.map +1 -0
- package/dist/src/sources/builtins.js +53 -0
- package/dist/src/sources/builtins.js.map +1 -0
- package/dist/src/sources/codes.d.ts +230 -0
- package/dist/src/sources/codes.d.ts.map +1 -0
- package/dist/src/sources/codes.js +58 -0
- package/dist/src/sources/codes.js.map +1 -0
- package/dist/src/sources/context.d.ts +112 -0
- package/dist/src/sources/context.d.ts.map +1 -0
- package/dist/src/sources/context.js +740 -0
- package/dist/src/sources/context.js.map +1 -0
- package/dist/src/sources/credentials.d.ts +179 -0
- package/dist/src/sources/credentials.d.ts.map +1 -0
- package/dist/src/sources/credentials.js +301 -0
- package/dist/src/sources/credentials.js.map +1 -0
- package/dist/src/sources/cypher/descriptor.d.ts +21 -0
- package/dist/src/sources/cypher/descriptor.d.ts.map +1 -0
- package/dist/src/sources/cypher/descriptor.js +124 -0
- package/dist/src/sources/cypher/descriptor.js.map +1 -0
- package/dist/src/sources/cypher/flatten.d.ts +72 -0
- package/dist/src/sources/cypher/flatten.d.ts.map +1 -0
- package/dist/src/sources/cypher/flatten.js +279 -0
- package/dist/src/sources/cypher/flatten.js.map +1 -0
- package/dist/src/sources/cypher/index.d.ts +33 -0
- package/dist/src/sources/cypher/index.d.ts.map +1 -0
- package/dist/src/sources/cypher/index.js +511 -0
- package/dist/src/sources/cypher/index.js.map +1 -0
- package/dist/src/sources/cypher/params.d.ts +40 -0
- package/dist/src/sources/cypher/params.d.ts.map +1 -0
- package/dist/src/sources/cypher/params.js +6 -0
- package/dist/src/sources/cypher/params.js.map +1 -0
- package/dist/src/sources/cypher/profiles.d.ts +44 -0
- package/dist/src/sources/cypher/profiles.d.ts.map +1 -0
- package/dist/src/sources/cypher/profiles.js +61 -0
- package/dist/src/sources/cypher/profiles.js.map +1 -0
- package/dist/src/sources/cypher/query-builder.d.ts +123 -0
- package/dist/src/sources/cypher/query-builder.d.ts.map +1 -0
- package/dist/src/sources/cypher/query-builder.js +267 -0
- package/dist/src/sources/cypher/query-builder.js.map +1 -0
- package/dist/src/sources/cypher/transports/bolt.d.ts +21 -0
- package/dist/src/sources/cypher/transports/bolt.d.ts.map +1 -0
- package/dist/src/sources/cypher/transports/bolt.js +185 -0
- package/dist/src/sources/cypher/transports/bolt.js.map +1 -0
- package/dist/src/sources/cypher/transports/neptune-analytics.d.ts +15 -0
- package/dist/src/sources/cypher/transports/neptune-analytics.d.ts.map +1 -0
- package/dist/src/sources/cypher/transports/neptune-analytics.js +38 -0
- package/dist/src/sources/cypher/transports/neptune-analytics.js.map +1 -0
- package/dist/src/sources/cypher/transports/neptune-https.d.ts +31 -0
- package/dist/src/sources/cypher/transports/neptune-https.d.ts.map +1 -0
- package/dist/src/sources/cypher/transports/neptune-https.js +104 -0
- package/dist/src/sources/cypher/transports/neptune-https.js.map +1 -0
- package/dist/src/sources/cypher/transports/query-api.d.ts +14 -0
- package/dist/src/sources/cypher/transports/query-api.d.ts.map +1 -0
- package/dist/src/sources/cypher/transports/query-api.js +80 -0
- package/dist/src/sources/cypher/transports/query-api.js.map +1 -0
- package/dist/src/sources/cypher/transports/transport.d.ts +78 -0
- package/dist/src/sources/cypher/transports/transport.d.ts.map +1 -0
- package/dist/src/sources/cypher/transports/transport.js +77 -0
- package/dist/src/sources/cypher/transports/transport.js.map +1 -0
- package/dist/src/sources/cypher/types-map.d.ts +91 -0
- package/dist/src/sources/cypher/types-map.d.ts.map +1 -0
- package/dist/src/sources/cypher/types-map.js +306 -0
- package/dist/src/sources/cypher/types-map.js.map +1 -0
- package/dist/src/sources/define.d.ts +47 -0
- package/dist/src/sources/define.d.ts.map +1 -0
- package/dist/src/sources/define.js +173 -0
- package/dist/src/sources/define.js.map +1 -0
- package/dist/src/sources/fail.d.ts +33 -0
- package/dist/src/sources/fail.d.ts.map +1 -0
- package/dist/src/sources/fail.js +49 -0
- package/dist/src/sources/fail.js.map +1 -0
- package/dist/src/sources/ids.d.ts +69 -0
- package/dist/src/sources/ids.d.ts.map +1 -0
- package/dist/src/sources/ids.js +69 -0
- package/dist/src/sources/ids.js.map +1 -0
- package/dist/src/sources/ndex/client.d.ts +31 -0
- package/dist/src/sources/ndex/client.d.ts.map +1 -0
- package/dist/src/sources/ndex/client.js +90 -0
- package/dist/src/sources/ndex/client.js.map +1 -0
- package/dist/src/sources/ndex/descriptor.d.ts +10 -0
- package/dist/src/sources/ndex/descriptor.d.ts.map +1 -0
- package/dist/src/sources/ndex/descriptor.js +55 -0
- package/dist/src/sources/ndex/descriptor.js.map +1 -0
- package/dist/src/sources/ndex/expand.d.ts +20 -0
- package/dist/src/sources/ndex/expand.d.ts.map +1 -0
- package/dist/src/sources/ndex/expand.js +87 -0
- package/dist/src/sources/ndex/expand.js.map +1 -0
- package/dist/src/sources/ndex/index.d.ts +25 -0
- package/dist/src/sources/ndex/index.d.ts.map +1 -0
- package/dist/src/sources/ndex/index.js +191 -0
- package/dist/src/sources/ndex/index.js.map +1 -0
- package/dist/src/sources/ndex/params.d.ts +17 -0
- package/dist/src/sources/ndex/params.d.ts.map +1 -0
- package/dist/src/sources/ndex/params.js +6 -0
- package/dist/src/sources/ndex/params.js.map +1 -0
- package/dist/src/sources/ndex/share-url.d.ts +40 -0
- package/dist/src/sources/ndex/share-url.d.ts.map +1 -0
- package/dist/src/sources/ndex/share-url.js +64 -0
- package/dist/src/sources/ndex/share-url.js.map +1 -0
- package/dist/src/sources/params.d.ts +31 -0
- package/dist/src/sources/params.d.ts.map +1 -0
- package/dist/src/sources/params.js +6 -0
- package/dist/src/sources/params.js.map +1 -0
- package/dist/src/sources/registry.d.ts +118 -0
- package/dist/src/sources/registry.d.ts.map +1 -0
- package/dist/src/sources/registry.js +193 -0
- package/dist/src/sources/registry.js.map +1 -0
- package/dist/src/sources/rest/descriptor.d.ts +16 -0
- package/dist/src/sources/rest/descriptor.d.ts.map +1 -0
- package/dist/src/sources/rest/descriptor.js +76 -0
- package/dist/src/sources/rest/descriptor.js.map +1 -0
- package/dist/src/sources/rest/index.d.ts +14 -0
- package/dist/src/sources/rest/index.d.ts.map +1 -0
- package/dist/src/sources/rest/index.js +13 -0
- package/dist/src/sources/rest/index.js.map +1 -0
- package/dist/src/sources/rest/mapping.d.ts +30 -0
- package/dist/src/sources/rest/mapping.d.ts.map +1 -0
- package/dist/src/sources/rest/mapping.js +362 -0
- package/dist/src/sources/rest/mapping.js.map +1 -0
- package/dist/src/sources/rest/openalex.d.ts +27 -0
- package/dist/src/sources/rest/openalex.d.ts.map +1 -0
- package/dist/src/sources/rest/openalex.js +269 -0
- package/dist/src/sources/rest/openalex.js.map +1 -0
- package/dist/src/sources/rest/paging.d.ts +53 -0
- package/dist/src/sources/rest/paging.d.ts.map +1 -0
- package/dist/src/sources/rest/paging.js +138 -0
- package/dist/src/sources/rest/paging.js.map +1 -0
- package/dist/src/sources/rest/params.d.ts +216 -0
- package/dist/src/sources/rest/params.d.ts.map +1 -0
- package/dist/src/sources/rest/params.js +7 -0
- package/dist/src/sources/rest/params.js.map +1 -0
- package/dist/src/sources/rest/records.d.ts +41 -0
- package/dist/src/sources/rest/records.d.ts.map +1 -0
- package/dist/src/sources/rest/records.js +240 -0
- package/dist/src/sources/rest/records.js.map +1 -0
- package/dist/src/sources/rest/samples/deps-dev.d.ts +10 -0
- package/dist/src/sources/rest/samples/deps-dev.d.ts.map +1 -0
- package/dist/src/sources/rest/samples/deps-dev.js +47 -0
- package/dist/src/sources/rest/samples/deps-dev.js.map +1 -0
- package/dist/src/sources/rest/samples/string.d.ts +9 -0
- package/dist/src/sources/rest/samples/string.d.ts.map +1 -0
- package/dist/src/sources/rest/samples/string.js +42 -0
- package/dist/src/sources/rest/samples/string.js.map +1 -0
- package/dist/src/sources/rest/selectors.d.ts +41 -0
- package/dist/src/sources/rest/selectors.d.ts.map +1 -0
- package/dist/src/sources/rest/selectors.js +81 -0
- package/dist/src/sources/rest/selectors.js.map +1 -0
- package/dist/src/sources/rest/source.d.ts +67 -0
- package/dist/src/sources/rest/source.d.ts.map +1 -0
- package/dist/src/sources/rest/source.js +650 -0
- package/dist/src/sources/rest/source.js.map +1 -0
- package/dist/src/sources/rest/templates.d.ts +38 -0
- package/dist/src/sources/rest/templates.d.ts.map +1 -0
- package/dist/src/sources/rest/templates.js +125 -0
- package/dist/src/sources/rest/templates.js.map +1 -0
- package/dist/src/sources/run.d.ts +93 -0
- package/dist/src/sources/run.d.ts.map +1 -0
- package/dist/src/sources/run.js +673 -0
- package/dist/src/sources/run.js.map +1 -0
- package/dist/src/sources/sha256.d.ts +12 -0
- package/dist/src/sources/sha256.d.ts.map +1 -0
- package/dist/src/sources/sha256.js +95 -0
- package/dist/src/sources/sha256.js.map +1 -0
- package/dist/src/sources/sigv4.d.ts +26 -0
- package/dist/src/sources/sigv4.d.ts.map +1 -0
- package/dist/src/sources/sigv4.js +184 -0
- package/dist/src/sources/sigv4.js.map +1 -0
- package/dist/src/sources/sparql/descriptor.d.ts +10 -0
- package/dist/src/sources/sparql/descriptor.d.ts.map +1 -0
- package/dist/src/sources/sparql/descriptor.js +64 -0
- package/dist/src/sources/sparql/descriptor.js.map +1 -0
- package/dist/src/sources/sparql/index.d.ts +28 -0
- package/dist/src/sources/sparql/index.d.ts.map +1 -0
- package/dist/src/sources/sparql/index.js +314 -0
- package/dist/src/sources/sparql/index.js.map +1 -0
- package/dist/src/sources/sparql/ntriples.d.ts +69 -0
- package/dist/src/sources/sparql/ntriples.d.ts.map +1 -0
- package/dist/src/sources/sparql/ntriples.js +180 -0
- package/dist/src/sources/sparql/ntriples.js.map +1 -0
- package/dist/src/sources/sparql/params.d.ts +27 -0
- package/dist/src/sources/sparql/params.d.ts.map +1 -0
- package/dist/src/sources/sparql/params.js +5 -0
- package/dist/src/sources/sparql/params.js.map +1 -0
- package/dist/src/sources/sparql/query.d.ts +72 -0
- package/dist/src/sources/sparql/query.d.ts.map +1 -0
- package/dist/src/sources/sparql/query.js +113 -0
- package/dist/src/sources/sparql/query.js.map +1 -0
- package/dist/src/sources/testing.d.ts +96 -0
- package/dist/src/sources/testing.d.ts.map +1 -0
- package/dist/src/sources/testing.js +138 -0
- package/dist/src/sources/testing.js.map +1 -0
- package/dist/src/sources/types.d.ts +696 -0
- package/dist/src/sources/types.d.ts.map +1 -0
- package/dist/src/sources/types.js +10 -0
- package/dist/src/sources/types.js.map +1 -0
- package/dist/src/styles/annotations.d.ts +61 -5
- package/dist/src/styles/annotations.d.ts.map +1 -1
- package/dist/src/styles/annotations.js +130 -22
- package/dist/src/styles/annotations.js.map +1 -1
- package/dist/src/styles/canon/bends.d.ts +46 -0
- package/dist/src/styles/canon/bends.d.ts.map +1 -1
- package/dist/src/styles/canon/bends.js +123 -0
- package/dist/src/styles/canon/bends.js.map +1 -1
- package/dist/src/styles/canon/color-tables.d.ts +6 -1
- package/dist/src/styles/canon/color-tables.d.ts.map +1 -1
- package/dist/src/styles/canon/color-tables.js +10 -4
- package/dist/src/styles/canon/color-tables.js.map +1 -1
- package/dist/src/styles/canon/color.d.ts +3 -1
- package/dist/src/styles/canon/color.d.ts.map +1 -1
- package/dist/src/styles/canon/color.js +103 -3
- package/dist/src/styles/canon/color.js.map +1 -1
- package/dist/src/styles/canon/enums.d.ts +2 -2
- package/dist/src/styles/canon/enums.d.ts.map +1 -1
- package/dist/src/styles/canon/enums.js +82 -7
- package/dist/src/styles/canon/enums.js.map +1 -1
- package/dist/src/styles/canon/graphviz.d.ts +12 -3
- package/dist/src/styles/canon/graphviz.d.ts.map +1 -1
- package/dist/src/styles/canon/graphviz.js +57 -9
- package/dist/src/styles/canon/graphviz.js.map +1 -1
- package/dist/src/styles/canon/number.d.ts +8 -0
- package/dist/src/styles/canon/number.d.ts.map +1 -1
- package/dist/src/styles/canon/number.js +18 -0
- package/dist/src/styles/canon/number.js.map +1 -1
- package/dist/src/styles/canon/text.d.ts +29 -2
- package/dist/src/styles/canon/text.d.ts.map +1 -1
- package/dist/src/styles/canon/text.js +156 -16
- package/dist/src/styles/canon/text.js.map +1 -1
- package/dist/src/styles/codes.d.ts +2 -0
- package/dist/src/styles/codes.d.ts.map +1 -1
- package/dist/src/styles/codes.js +2 -0
- package/dist/src/styles/codes.js.map +1 -1
- package/dist/src/styles/cyjs/cascade.d.ts.map +1 -1
- package/dist/src/styles/cyjs/cascade.js +1037 -35
- package/dist/src/styles/cyjs/cascade.js.map +1 -1
- package/dist/src/styles/cyjs/defaults-table.d.ts.map +1 -1
- package/dist/src/styles/cyjs/defaults-table.js +5 -0
- package/dist/src/styles/cyjs/defaults-table.js.map +1 -1
- package/dist/src/styles/cyjs/emit.d.ts.map +1 -1
- package/dist/src/styles/cyjs/emit.js +216 -12
- package/dist/src/styles/cyjs/emit.js.map +1 -1
- package/dist/src/styles/cyjs/face.d.ts +20 -0
- package/dist/src/styles/cyjs/face.d.ts.map +1 -0
- package/dist/src/styles/cyjs/face.js +332 -0
- package/dist/src/styles/cyjs/face.js.map +1 -0
- package/dist/src/styles/cyjs/mappers.d.ts +48 -2
- package/dist/src/styles/cyjs/mappers.d.ts.map +1 -1
- package/dist/src/styles/cyjs/mappers.js +463 -26
- package/dist/src/styles/cyjs/mappers.js.map +1 -1
- package/dist/src/styles/cyjs/routes.d.ts +53 -0
- package/dist/src/styles/cyjs/routes.d.ts.map +1 -0
- package/dist/src/styles/cyjs/routes.js +360 -0
- package/dist/src/styles/cyjs/routes.js.map +1 -0
- package/dist/src/styles/cytoscape/charts.d.ts +23 -0
- package/dist/src/styles/cytoscape/charts.d.ts.map +1 -0
- package/dist/src/styles/cytoscape/charts.js +560 -0
- package/dist/src/styles/cytoscape/charts.js.map +1 -0
- package/dist/src/styles/cytoscape/emit.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/emit.js +204 -44
- package/dist/src/styles/cytoscape/emit.js.map +1 -1
- package/dist/src/styles/cytoscape/lexicon.d.ts +97 -3
- package/dist/src/styles/cytoscape/lexicon.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/lexicon.js +413 -79
- package/dist/src/styles/cytoscape/lexicon.js.map +1 -1
- package/dist/src/styles/cytoscape/mappings.d.ts +30 -0
- package/dist/src/styles/cytoscape/mappings.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/mappings.js +92 -0
- package/dist/src/styles/cytoscape/mappings.js.map +1 -1
- package/dist/src/styles/cytoscape/resolve.d.ts +46 -3
- package/dist/src/styles/cytoscape/resolve.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/resolve.js +632 -22
- package/dist/src/styles/cytoscape/resolve.js.map +1 -1
- package/dist/src/styles/cytoscape/translate.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/translate.js +10 -10
- package/dist/src/styles/cytoscape/translate.js.map +1 -1
- package/dist/src/styles/defaults.d.ts +50 -0
- package/dist/src/styles/defaults.d.ts.map +1 -1
- package/dist/src/styles/defaults.js +315 -37
- package/dist/src/styles/defaults.js.map +1 -1
- package/dist/src/styles/index.d.ts +4 -3
- package/dist/src/styles/index.d.ts.map +1 -1
- package/dist/src/styles/index.js +3 -2
- package/dist/src/styles/index.js.map +1 -1
- package/dist/src/styles/internal.d.ts +1 -0
- package/dist/src/styles/internal.d.ts.map +1 -1
- package/dist/src/styles/internal.js +1 -0
- package/dist/src/styles/internal.js.map +1 -1
- package/dist/src/styles/io/block.d.ts.map +1 -1
- package/dist/src/styles/io/block.js +9 -0
- package/dist/src/styles/io/block.js.map +1 -1
- package/dist/src/styles/io/generic.d.ts.map +1 -1
- package/dist/src/styles/io/generic.js +56 -16
- package/dist/src/styles/io/generic.js.map +1 -1
- package/dist/src/styles/io/round-trip.d.ts +56 -0
- package/dist/src/styles/io/round-trip.d.ts.map +1 -0
- package/dist/src/styles/io/round-trip.js +138 -0
- package/dist/src/styles/io/round-trip.js.map +1 -0
- package/dist/src/styles/io/writer.d.ts.map +1 -1
- package/dist/src/styles/io/writer.js +13 -4
- package/dist/src/styles/io/writer.js.map +1 -1
- package/dist/src/styles/notes.d.ts.map +1 -1
- package/dist/src/styles/notes.js +1 -0
- package/dist/src/styles/notes.js.map +1 -1
- package/dist/src/styles/plan/features.d.ts +1 -1
- package/dist/src/styles/plan/features.d.ts.map +1 -1
- package/dist/src/styles/plan/features.js +22 -2
- package/dist/src/styles/plan/features.js.map +1 -1
- package/dist/src/styles/plan/index.d.ts +1 -1
- package/dist/src/styles/plan/index.d.ts.map +1 -1
- package/dist/src/styles/plan/index.js +1 -1
- package/dist/src/styles/plan/index.js.map +1 -1
- package/dist/src/styles/plan/plan.d.ts.map +1 -1
- package/dist/src/styles/plan/plan.js +61 -4
- package/dist/src/styles/plan/plan.js.map +1 -1
- package/dist/src/styles/plan/resolve.d.ts +13 -1
- package/dist/src/styles/plan/resolve.d.ts.map +1 -1
- package/dist/src/styles/plan/resolve.js +53 -6
- package/dist/src/styles/plan/resolve.js.map +1 -1
- package/dist/src/styles/slots.d.ts +14 -0
- package/dist/src/styles/slots.d.ts.map +1 -0
- package/dist/src/styles/slots.js +20 -0
- package/dist/src/styles/slots.js.map +1 -0
- package/dist/src/styles/types.d.ts +638 -5
- package/dist/src/styles/types.d.ts.map +1 -1
- package/dist/src/styles/vocabulary.d.ts +3 -2
- package/dist/src/styles/vocabulary.d.ts.map +1 -1
- package/dist/src/styles/vocabulary.js +218 -1
- package/dist/src/styles/vocabulary.js.map +1 -1
- package/dist/src/types.d.ts +19 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/styles.js +29 -238
- package/dist/styles.js.map +1 -1
- package/dist/xgmml.js +3 -3
- package/docs/samples/people.json +6 -0
- package/package.json +53 -8
- package/src/common/report.ts +27 -7
- package/src/formats/cx/importer.ts +6 -1
- package/src/formats/cx/styles.ts +144 -9
- package/src/formats/cx2/importer.ts +1 -0
- package/src/formats/cx2/styles.ts +3 -1
- package/src/formats/cys/importer.ts +1 -0
- package/src/formats/cys/styles.ts +27 -5
- package/src/formats/dot/drawing.ts +799 -0
- package/src/formats/dot/importer.ts +120 -35
- package/src/formats/dot/label-places.ts +228 -0
- package/src/formats/dot/record.ts +336 -0
- package/src/formats/dot/styles.ts +1657 -154
- package/src/formats/gexf/dialog-metrics.ts +61 -0
- package/src/formats/gexf/importer.ts +50 -5
- package/src/formats/gexf/preview.ts +217 -0
- package/src/formats/gexf/schema.ts +2 -1
- package/src/formats/gexf/styles.ts +1144 -142
- package/src/formats/gml/importer.ts +291 -76
- package/src/formats/gml/index.ts +1 -1
- package/src/formats/gml/positions.ts +29 -7
- package/src/formats/gml/styles.ts +854 -111
- package/src/formats/graphml/styles-plain.ts +8 -23
- package/src/formats/graphml/styles-yed.ts +821 -159
- package/src/formats/graphml/styles-yfiles3.ts +485 -63
- package/src/formats/graphml/yfiles.ts +19 -6
- package/src/formats/json/dialect.ts +41 -5
- package/src/formats/json/importer.ts +59 -7
- package/src/formats/json/index.ts +1 -0
- package/src/formats/json/positions.ts +22 -5
- package/src/formats/json/styles.ts +2041 -185
- package/src/formats/pajek/draw.ts +458 -0
- package/src/formats/pajek/exporter.ts +81 -49
- package/src/formats/pajek/importer.ts +278 -103
- package/src/formats/pajek/index.ts +1 -0
- package/src/formats/pajek/styles.ts +1382 -133
- package/src/formats/pajek/syntax.ts +27 -2
- package/src/formats/xgmml/emit.ts +73 -5
- package/src/formats/xgmml/styles.ts +331 -71
- package/src/index.ts +94 -0
- package/src/positions/convert.ts +12 -1
- package/src/positions/extract.ts +55 -1
- package/src/positions/index.ts +1 -0
- package/src/positions/types.ts +60 -0
- package/src/registry.ts +326 -1
- package/src/sources/builtins.ts +63 -0
- package/src/sources/codes.ts +235 -0
- package/src/sources/context.ts +894 -0
- package/src/sources/credentials.ts +409 -0
- package/src/sources/cypher/descriptor.ts +131 -0
- package/src/sources/cypher/flatten.ts +323 -0
- package/src/sources/cypher/index.ts +628 -0
- package/src/sources/cypher/params.ts +41 -0
- package/src/sources/cypher/profiles.ts +78 -0
- package/src/sources/cypher/query-builder.ts +327 -0
- package/src/sources/cypher/transports/bolt.ts +228 -0
- package/src/sources/cypher/transports/neptune-analytics.ts +41 -0
- package/src/sources/cypher/transports/neptune-https.ts +122 -0
- package/src/sources/cypher/transports/query-api.ts +100 -0
- package/src/sources/cypher/transports/transport.ts +139 -0
- package/src/sources/cypher/types-map.ts +418 -0
- package/src/sources/define.ts +195 -0
- package/src/sources/fail.ts +70 -0
- package/src/sources/ids.ts +80 -0
- package/src/sources/ndex/client.ts +102 -0
- package/src/sources/ndex/descriptor.ts +64 -0
- package/src/sources/ndex/expand.ts +100 -0
- package/src/sources/ndex/index.ts +235 -0
- package/src/sources/ndex/params.ts +17 -0
- package/src/sources/ndex/share-url.ts +84 -0
- package/src/sources/params.ts +32 -0
- package/src/sources/registry.ts +325 -0
- package/src/sources/rest/descriptor.ts +79 -0
- package/src/sources/rest/index.ts +22 -0
- package/src/sources/rest/mapping.ts +401 -0
- package/src/sources/rest/openalex.ts +288 -0
- package/src/sources/rest/paging.ts +180 -0
- package/src/sources/rest/params.ts +243 -0
- package/src/sources/rest/records.ts +289 -0
- package/src/sources/rest/samples/deps-dev.ts +49 -0
- package/src/sources/rest/samples/string.ts +44 -0
- package/src/sources/rest/selectors.ts +91 -0
- package/src/sources/rest/source.ts +776 -0
- package/src/sources/rest/templates.ts +151 -0
- package/src/sources/run.ts +793 -0
- package/src/sources/sha256.ts +99 -0
- package/src/sources/sigv4.ts +209 -0
- package/src/sources/sparql/descriptor.ts +67 -0
- package/src/sources/sparql/index.ts +356 -0
- package/src/sources/sparql/ntriples.ts +219 -0
- package/src/sources/sparql/params.ts +28 -0
- package/src/sources/sparql/query.ts +162 -0
- package/src/sources/testing.ts +210 -0
- package/src/sources/types.ts +776 -0
- package/src/styles/annotations.ts +201 -27
- package/src/styles/canon/bends.ts +137 -0
- package/src/styles/canon/color-tables.ts +10 -4
- package/src/styles/canon/color.ts +105 -3
- package/src/styles/canon/enums.ts +99 -8
- package/src/styles/canon/graphviz.ts +71 -10
- package/src/styles/canon/number.ts +19 -0
- package/src/styles/canon/text.ts +187 -16
- package/src/styles/codes.ts +2 -0
- package/src/styles/cyjs/cascade.ts +1193 -38
- package/src/styles/cyjs/defaults-table.ts +5 -0
- package/src/styles/cyjs/emit.ts +247 -16
- package/src/styles/cyjs/face.ts +372 -0
- package/src/styles/cyjs/mappers.ts +498 -28
- package/src/styles/cyjs/routes.ts +432 -0
- package/src/styles/cytoscape/charts.ts +684 -0
- package/src/styles/cytoscape/emit.ts +220 -44
- package/src/styles/cytoscape/lexicon.ts +459 -80
- package/src/styles/cytoscape/mappings.ts +108 -0
- package/src/styles/cytoscape/resolve.ts +763 -23
- package/src/styles/cytoscape/translate.ts +11 -11
- package/src/styles/defaults.ts +436 -38
- package/src/styles/index.ts +5 -0
- package/src/styles/internal.ts +1 -0
- package/src/styles/io/block.ts +10 -0
- package/src/styles/io/generic.ts +79 -23
- package/src/styles/io/round-trip.ts +202 -0
- package/src/styles/io/writer.ts +14 -4
- package/src/styles/notes.ts +1 -0
- package/src/styles/plan/features.ts +23 -2
- package/src/styles/plan/index.ts +1 -1
- package/src/styles/plan/plan.ts +69 -5
- package/src/styles/plan/resolve.ts +61 -6
- package/src/styles/slots.ts +25 -0
- package/src/styles/types.ts +658 -4
- package/src/styles/vocabulary.ts +226 -3
- package/src/types.ts +19 -5
- package/dist/chunks/block-DiGq58c3.js.map +0 -1
- package/dist/chunks/choose--jM0yYCo.js +0 -57
- package/dist/chunks/choose--jM0yYCo.js.map +0 -1
- package/dist/chunks/convert-BcQ8_jMo.js.map +0 -1
- package/dist/chunks/emit-CwU8cUmG.js.map +0 -1
- package/dist/chunks/export-BvqAXCKh.js.map +0 -1
- package/dist/chunks/exporter-CrDWIyiq.js.map +0 -1
- package/dist/chunks/format-BpQBx8MZ.js.map +0 -1
- package/dist/chunks/generic-Dq1ntt9q.js.map +0 -1
- package/dist/chunks/importer-BSvfrX_h.js.map +0 -1
- package/dist/chunks/importer-CMmeMWlC.js.map +0 -1
- package/dist/chunks/importer-COTK9Tsl.js.map +0 -1
- package/dist/chunks/importer-DiZRmOQG.js.map +0 -1
- package/dist/chunks/importer-e6LGpqHB.js.map +0 -1
- package/dist/chunks/importer-iFYPEKaJ.js.map +0 -1
- package/dist/chunks/importer-yh_aBCU6.js.map +0 -1
- package/dist/chunks/lexicon-CT69Kd87.js.map +0 -1
- package/dist/chunks/styles-BQnsga7p.js.map +0 -1
- package/dist/chunks/styles-D3fRphrO.js +0 -690
- package/dist/chunks/styles-D3fRphrO.js.map +0 -1
- package/dist/chunks/styles-yed-BF5x3_Y5.js +0 -842
- package/dist/chunks/styles-yed-BF5x3_Y5.js.map +0 -1
- package/dist/chunks/writer-DMKvthQE.js +0 -448
- package/dist/chunks/writer-DMKvthQE.js.map +0 -1
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cytoscape desktop's charts (`NODE_CUSTOMGRAPHICS_1` .. `_9` holding `org.cytoscape.PieChart:{...}`,
|
|
3
|
+
* `org.cytoscape.RingChart:{...}`, `BarChart`, `LineChart`, `BoxChart` or `HeatMapChart`), read per node from the
|
|
4
|
+
* node's own data as the neutral `pie*` properties (pie and ring) and `chart*` properties (the others)
|
|
5
|
+
* (https://manual.cytoscape.org/en/stable/Styles.html#using-graphics-in-styles).
|
|
6
|
+
*
|
|
7
|
+
* As Cytoscape 3.10.5 draws them (measured from its own SVG export): each slice is its data column's share of the
|
|
8
|
+
* node's values, the slices run counter-clockwise from `cy_startAngle` degrees counter-clockwise from 3 o'clock,
|
|
9
|
+
* the disc is 0.9 of the node across (of `NODE_CUSTOMGRAPHICS_SIZE_<slot>` with `nodeCustomGraphicsSizeSync` off),
|
|
10
|
+
* and a ring's hole is `cy_holeSize` (default 0.4) of its radius. The same pie
|
|
11
|
+
* drawn clockwise is its slices in reverse order from where the last one ends.
|
|
12
|
+
*/
|
|
13
|
+
import { num6 } from "../canon/number.js";
|
|
14
|
+
/** How far across the node Cytoscape draws a pie, measured from its SVG export. */
|
|
15
|
+
const CHART_ACROSS = 0.9;
|
|
16
|
+
/** A ring chart's hole when its options name none (Cytoscape's `RingChart` default). */
|
|
17
|
+
const RING_HOLE = 0.4;
|
|
18
|
+
/** The custom graphics slots, in the order Cytoscape stacks them. */
|
|
19
|
+
const SLOTS = Array.from({ length: 9 }, (_, k) => `NODE_CUSTOMGRAPHICS_${String(k + 1)}`);
|
|
20
|
+
/** A Cytoscape chart class name, without its package. */
|
|
21
|
+
const CHART_CLASS = /^org\.cytoscape\.(PieChart|RingChart|BarChart|LineChart|BoxChart|HeatMapChart)$/;
|
|
22
|
+
/**
|
|
23
|
+
* The chart a custom graphics value holds, or null for anything else.
|
|
24
|
+
* @param raw - the value
|
|
25
|
+
* @returns the chart's kind and options
|
|
26
|
+
*/
|
|
27
|
+
function chartOf(raw) {
|
|
28
|
+
// CX2 writes the chart as an object, the desktop, CX and sessions as `<class>:<options as JSON>`
|
|
29
|
+
if (typeof raw === "object" && raw !== null && !Array.isArray(raw)) {
|
|
30
|
+
const o = raw;
|
|
31
|
+
const kind = CHART_CLASS.exec(typeof o.name === "string" ? o.name : "")?.[1];
|
|
32
|
+
return kind !== undefined && typeof o.properties === "object" && o.properties !== null
|
|
33
|
+
? { kind, ring: kind === "RingChart", options: o.properties }
|
|
34
|
+
: null;
|
|
35
|
+
}
|
|
36
|
+
if (typeof raw !== "string") {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
const m = /^(org\.cytoscape\.\w+):(\{.*\})\s*$/s.exec(raw.trim());
|
|
40
|
+
const kind = m === null ? undefined : CHART_CLASS.exec(m[1])?.[1];
|
|
41
|
+
if (m === null || kind === undefined) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
const options = JSON.parse(m[2]);
|
|
46
|
+
return typeof options === "object" && options !== null
|
|
47
|
+
? { kind, ring: kind === "RingChart", options: options }
|
|
48
|
+
: null;
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/** Where each of Cytoscape's anchors is on a box, as fractions of its half width and half height, y down. */
|
|
55
|
+
const ANCHORS = {
|
|
56
|
+
C: [0, 0],
|
|
57
|
+
N: [0, -1],
|
|
58
|
+
NE: [1, -1],
|
|
59
|
+
E: [1, 0],
|
|
60
|
+
SE: [1, 1],
|
|
61
|
+
S: [0, 1],
|
|
62
|
+
SW: [-1, 1],
|
|
63
|
+
W: [-1, 0],
|
|
64
|
+
NW: [-1, -1],
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* A custom graphic's position: `NODE_CUSTOMGRAPHICS_POSITION_<slot>` as the desktop writes it
|
|
68
|
+
* (`<node anchor>,<graphic anchor>,<justification>,<x offset>,<y offset>`) or as CX2 does (an object of
|
|
69
|
+
* `ENTITY_ANCHOR`, `GRAPHICS_ANCHOR`, `MARGIN_X`, `MARGIN_Y`).
|
|
70
|
+
* @param raw - the value
|
|
71
|
+
* @returns the anchors and offsets, or null when it does not read
|
|
72
|
+
*/
|
|
73
|
+
function positionOf(raw) {
|
|
74
|
+
let parts;
|
|
75
|
+
if (typeof raw === "string") {
|
|
76
|
+
const p = raw.split(",");
|
|
77
|
+
parts = [p[0], p[1], p[3], p[4]];
|
|
78
|
+
}
|
|
79
|
+
else if (typeof raw === "object" && raw !== null) {
|
|
80
|
+
const o = raw;
|
|
81
|
+
parts = [o.ENTITY_ANCHOR, o.GRAPHICS_ANCHOR, o.MARGIN_X, o.MARGIN_Y];
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
const anchor = (v) => typeof v === "string" ? ANCHORS[v.trim().toUpperCase()] : undefined;
|
|
87
|
+
const [node, chart] = [anchor(parts[0]), anchor(parts[1])];
|
|
88
|
+
const [x, y] = [Number(parts[2] ?? 0), Number(parts[3] ?? 0)];
|
|
89
|
+
return node === undefined || chart === undefined
|
|
90
|
+
? null
|
|
91
|
+
: { node, chart, x: Number.isFinite(x) ? x : 0, y: Number.isFinite(y) ? y : 0 };
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* A node's values for a chart's data columns: one per column, or the items of a single list column.
|
|
95
|
+
* @param columns - the chart's data columns
|
|
96
|
+
* @param value - reads the node's value of a column
|
|
97
|
+
* @returns the values, NaN where one is not a number
|
|
98
|
+
*/
|
|
99
|
+
function valuesOf(columns, value) {
|
|
100
|
+
const first = columns.length === 1 ? value(columns[0]) : undefined;
|
|
101
|
+
const raw = Array.isArray(first) ? first : columns.map((c) => value(c));
|
|
102
|
+
return raw.map((v) => (typeof v === "number" ? v : Number(v)));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Sets each node's `pie*` properties from the first pie or ring chart among its custom graphics.
|
|
106
|
+
* @param out - the node values per property, changed in place
|
|
107
|
+
* @param n - the node count
|
|
108
|
+
* @param graphicOf - a node's resolved value of a custom graphics slot
|
|
109
|
+
* @param value - a node's value of a data column
|
|
110
|
+
* @param sizeSync - whether charts are fitted to their node (`nodeCustomGraphicsSizeSync`, true by default)
|
|
111
|
+
*/
|
|
112
|
+
export function readCytoscapeCharts(out, n, graphicOf, value, sizeSync) {
|
|
113
|
+
const col = (property) => {
|
|
114
|
+
const existing = out[property];
|
|
115
|
+
if (existing !== undefined) {
|
|
116
|
+
return existing;
|
|
117
|
+
}
|
|
118
|
+
const fresh = new Array(n).fill(null);
|
|
119
|
+
out[property] = fresh;
|
|
120
|
+
return fresh;
|
|
121
|
+
};
|
|
122
|
+
for (let i = 0; i < n; i++) {
|
|
123
|
+
const slot = SLOTS.findIndex((vp) => chartOf(graphicOf(vp, i)) !== null);
|
|
124
|
+
const chart = slot < 0 ? null : chartOf(graphicOf(SLOTS[slot], i));
|
|
125
|
+
if (chart === null) {
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
const [w, h] = [out.width?.[i], out.height?.[i]];
|
|
129
|
+
chartOnNode(chart, {
|
|
130
|
+
put: (property, v) => {
|
|
131
|
+
col(property)[i] = v;
|
|
132
|
+
},
|
|
133
|
+
get: (property) => out[property]?.[i],
|
|
134
|
+
graphic: (name) => graphicOf(`${name}_${String(slot + 1)}`, i),
|
|
135
|
+
value: (column) => value(column, i),
|
|
136
|
+
w: typeof w === "number" ? w : null,
|
|
137
|
+
h: typeof h === "number" ? h : null,
|
|
138
|
+
}, sizeSync);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* A node's shorter side, when its width and height are known.
|
|
143
|
+
* @param node - the node
|
|
144
|
+
* @returns the side, or null
|
|
145
|
+
*/
|
|
146
|
+
function shorterSide(node) {
|
|
147
|
+
return node.w !== null && node.h !== null ? Math.min(node.w, node.h) : null;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Sets a node's `pie*` or `chart*` properties from its chart.
|
|
151
|
+
* @param chart - the chart
|
|
152
|
+
* @param chart.kind - its class
|
|
153
|
+
* @param chart.ring - whether it is a ring
|
|
154
|
+
* @param chart.options - its options
|
|
155
|
+
* @param node - the node
|
|
156
|
+
* @param sizeSync - whether charts are fitted to their node
|
|
157
|
+
*/
|
|
158
|
+
function chartOnNode(chart, node, sizeSync) {
|
|
159
|
+
const { options } = chart;
|
|
160
|
+
const colors = Array.isArray(options.cy_colors) ? options.cy_colors.map(String) : [];
|
|
161
|
+
const columns = Array.isArray(options.cy_dataColumns) ? options.cy_dataColumns.map(String) : [];
|
|
162
|
+
const values = valuesOf(columns, node.value);
|
|
163
|
+
if (chart.kind === "PieChart" || chart.kind === "RingChart") {
|
|
164
|
+
pieOnNode(chart.ring, options, values, colors, node, sizeSync);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const own = Number(node.graphic("NODE_CUSTOMGRAPHICS_SIZE"));
|
|
168
|
+
const side = shorterSide(node);
|
|
169
|
+
const ownSize = own > 0;
|
|
170
|
+
const fitted = sizeSync || !ownSize;
|
|
171
|
+
const box = side === null ? null : { disc: CHART_ACROSS * (fitted ? side : own), side };
|
|
172
|
+
for (const [property, v] of Object.entries(plotChart(chart.kind, options, values, colors, box))) {
|
|
173
|
+
node.put(property, v);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Each slice of a pie: a value above 0 with a color, its share of the values above 0.
|
|
178
|
+
* @param values - the node's values
|
|
179
|
+
* @param colors - the chart's colors
|
|
180
|
+
* @returns the slices in order
|
|
181
|
+
*/
|
|
182
|
+
function pieSlices(values, colors) {
|
|
183
|
+
const total = values.reduce((sum, v) => sum + (Number.isFinite(v) && v > 0 ? v : 0), 0);
|
|
184
|
+
return values.flatMap((v, k) => Number.isFinite(v) && v > 0 && colors[k] !== undefined
|
|
185
|
+
? [{ color: colors[k].toLowerCase(), size: v / total }]
|
|
186
|
+
: []);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Sets a node's `pie*` properties from a pie or ring chart.
|
|
190
|
+
* @param ring - whether it is a ring
|
|
191
|
+
* @param options - the chart's options
|
|
192
|
+
* @param values - the node's values
|
|
193
|
+
* @param colors - the chart's colors
|
|
194
|
+
* @param node - the node
|
|
195
|
+
* @param sizeSync - whether charts are fitted to their node
|
|
196
|
+
*/
|
|
197
|
+
function pieOnNode(ring, options, values, colors, node, sizeSync) {
|
|
198
|
+
const slices = pieSlices(values, colors);
|
|
199
|
+
if (slices.length === 0) {
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
const start = Number(options.cy_startAngle ?? 0);
|
|
203
|
+
const from = Number.isFinite(start) ? start : 0;
|
|
204
|
+
// counter-clockwise from `start` past 3 o'clock is clockwise from 12 o'clock at 90 - start, slices reversed
|
|
205
|
+
const reversed = [...slices].reverse();
|
|
206
|
+
node.put("pieColors", reversed.map((s) => s.color).join(" "));
|
|
207
|
+
node.put("pieSizes", reversed.map((s) => String(num6(s.size))).join(" "));
|
|
208
|
+
// fitted to the node, or with `nodeCustomGraphicsSizeSync` off at the slot's own size
|
|
209
|
+
const own = Number(node.graphic("NODE_CUSTOMGRAPHICS_SIZE"));
|
|
210
|
+
const side = shorterSide(node);
|
|
211
|
+
const ownSize = own > 0;
|
|
212
|
+
const fitted = sizeSync || !ownSize || side === null || side <= 0;
|
|
213
|
+
node.put("pieRadius", fitted ? CHART_ACROSS : num6((CHART_ACROSS * own) / side));
|
|
214
|
+
pieOffset(node, fitted, own);
|
|
215
|
+
node.put("pieRotation", num6((((90 - from) % 360) + 360) % 360));
|
|
216
|
+
const texts = pieItemLabels(options, values, colors, node.value, {
|
|
217
|
+
start: from,
|
|
218
|
+
radius: (CHART_ACROSS * (fitted || side === null ? 1 : own / side) * (side ?? 0)) / 2,
|
|
219
|
+
dx: Number(node.get("pieOffsetX") ?? 0),
|
|
220
|
+
dy: Number(node.get("pieOffsetY") ?? 0),
|
|
221
|
+
w: node.w,
|
|
222
|
+
h: node.h,
|
|
223
|
+
});
|
|
224
|
+
if (texts !== null && (node.get("shapeTexts") ?? null) === null) {
|
|
225
|
+
node.put("shapeTexts", texts);
|
|
226
|
+
}
|
|
227
|
+
if (ring) {
|
|
228
|
+
const hole = Number(options.cy_holeSize ?? RING_HOLE);
|
|
229
|
+
node.put("pieHole", Number.isFinite(hole) ? Math.max(0, Math.min(1, hole)) : RING_HOLE);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A pie's offset from its node's center, as Cytoscape 3.10.5 draws a chart's position (measured from its SVG export
|
|
234
|
+
* of the specimen sheets, every anchor pair they hold, fitted and at a size of its own): the node anchor scales by
|
|
235
|
+
* the drawn disc and the chart anchor by the node, so on a 60 node NW,NW moves a fitted 54 disc 3 px down and right
|
|
236
|
+
* and a 21.6 disc 19 px, C,NW puts either one's center 30 px down and right, and E,W puts a fitted disc 57 px right;
|
|
237
|
+
* then the position's offsets (y down).
|
|
238
|
+
* @param node - the node
|
|
239
|
+
* @param fitted - whether the pie is fitted to the node
|
|
240
|
+
* @param own - the slot's own size
|
|
241
|
+
*/
|
|
242
|
+
function pieOffset(node, fitted, own) {
|
|
243
|
+
const at = positionOf(node.graphic("NODE_CUSTOMGRAPHICS_POSITION"));
|
|
244
|
+
const { w, h } = node;
|
|
245
|
+
if (at === null || w === null || h === null) {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
const disc = CHART_ACROSS * (fitted ? Math.min(w, h) : own);
|
|
249
|
+
const dx = (at.node[0] * disc) / 2 - (at.chart[0] * w) / 2 + at.x;
|
|
250
|
+
const dy = (at.node[1] * disc) / 2 - (at.chart[1] * h) / 2 + at.y;
|
|
251
|
+
if (dx !== 0 || dy !== 0) {
|
|
252
|
+
node.put("pieOffsetX", num6(dx));
|
|
253
|
+
node.put("pieOffsetY", num6(dy));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Where Cytoscape's pie draws an item label: centered on its slice's middle, this share of the radius out (measured
|
|
258
|
+
* from its SVG export of xgmml-specimen-images-charts-p5 and -p7: 16.4 to 17.3 px from the center of a 27.2 px disc,
|
|
259
|
+
* at 1, 10 and 20 px).
|
|
260
|
+
*/
|
|
261
|
+
const ITEM_LABEL_RADIUS = 0.62;
|
|
262
|
+
/**
|
|
263
|
+
* The size of a chart's item labels, in the file's lengths, when its options name none: Cytoscape 3.10.5 draws them 1
|
|
264
|
+
* px tall (xgmml-specimen-images-charts-p5 `pie-item-labels`).
|
|
265
|
+
*/
|
|
266
|
+
const ITEM_LABEL_FONT_SIZE = 1;
|
|
267
|
+
/** The color JFreeChart draws Cytoscape's chart labels in. */
|
|
268
|
+
const CHART_LABEL_COLOR = "#404040";
|
|
269
|
+
/**
|
|
270
|
+
* A chart's item labels: `cy_itemLabels`, or the node's list in `cy_itemLabelsColumn`, one per data column; none
|
|
271
|
+
* unless `cy_showItemLabels` is on.
|
|
272
|
+
* @param options - the chart's options
|
|
273
|
+
* @param value - reads the node's value of a column
|
|
274
|
+
* @returns the labels, or null
|
|
275
|
+
*/
|
|
276
|
+
function itemLabelsOf(options, value) {
|
|
277
|
+
if (options.cy_showItemLabels !== true) {
|
|
278
|
+
return null;
|
|
279
|
+
}
|
|
280
|
+
const column = typeof options.cy_itemLabelsColumn === "string" ? value(options.cy_itemLabelsColumn) : undefined;
|
|
281
|
+
const list = Array.isArray(column) ? column : options.cy_itemLabels;
|
|
282
|
+
return Array.isArray(list) ? list.map((v) => (v === null || v === undefined ? "" : String(v))) : null;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* A pie's or a ring's item labels as the node's further texts (`shapeTexts`), as Cytoscape 3.10.5 draws them
|
|
286
|
+
* (measured from its SVG export of the specimen sheets): each slice's label centered on the middle of its slice, a
|
|
287
|
+
* share of the disc's radius out from its center, in `cy_itemLabelFontSize` (the file's lengths) and JFreeChart's
|
|
288
|
+
* dark gray.
|
|
289
|
+
* @param options - the chart's options
|
|
290
|
+
* @param values - the node's values, one per data column
|
|
291
|
+
* @param colors - the chart's colors, one per data column
|
|
292
|
+
* @param value - reads the node's value of a column
|
|
293
|
+
* @param at - where the disc is: its start angle (degrees counter-clockwise from 3 o'clock), radius and offset from
|
|
294
|
+
* the node's center (y down), and the node's width and height
|
|
295
|
+
* @param at.start - start angle
|
|
296
|
+
* @param at.radius - the disc's radius
|
|
297
|
+
* @param at.dx - offset right
|
|
298
|
+
* @param at.dy - offset down
|
|
299
|
+
* @param at.w - the node's width
|
|
300
|
+
* @param at.h - the node's height
|
|
301
|
+
* @returns the texts as JSON, or null for none
|
|
302
|
+
*/
|
|
303
|
+
function pieItemLabels(options, values, colors, value, at) {
|
|
304
|
+
const labels = itemLabelsOf(options, value);
|
|
305
|
+
const { w, h } = at;
|
|
306
|
+
if (labels === null || w === null || h === null) {
|
|
307
|
+
return null;
|
|
308
|
+
}
|
|
309
|
+
// a size that is not a number, like one of 0, draws nothing
|
|
310
|
+
const drawn = w > 0 && h > 0 && at.radius > 0;
|
|
311
|
+
if (!drawn) {
|
|
312
|
+
return null;
|
|
313
|
+
}
|
|
314
|
+
const shown = values.map((v, k) => Number.isFinite(v) && v > 0 && colors[k] !== undefined);
|
|
315
|
+
const total = values.reduce((sum, v, k) => sum + (shown[k] ? v : 0), 0);
|
|
316
|
+
const size = Number(options.cy_itemLabelFontSize ?? ITEM_LABEL_FONT_SIZE);
|
|
317
|
+
const texts = [];
|
|
318
|
+
let from = at.start;
|
|
319
|
+
values.forEach((v, k) => {
|
|
320
|
+
if (!shown[k]) {
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
const sweep = (360 * v) / total;
|
|
324
|
+
const mid = ((from + sweep / 2) * Math.PI) / 180;
|
|
325
|
+
from += sweep;
|
|
326
|
+
const text = labels[k] ?? "";
|
|
327
|
+
if (text === "") {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
// counter-clockwise from 3 o'clock, y up in the node's frame
|
|
331
|
+
const x = at.dx + ITEM_LABEL_RADIUS * at.radius * Math.cos(mid);
|
|
332
|
+
const y = -at.dy + ITEM_LABEL_RADIUS * at.radius * Math.sin(mid);
|
|
333
|
+
texts.push([
|
|
334
|
+
num6(x / (w / 2)),
|
|
335
|
+
num6(y / (h / 2)),
|
|
336
|
+
text,
|
|
337
|
+
{
|
|
338
|
+
size: num6((Number.isFinite(size) && size > 0 ? size : ITEM_LABEL_FONT_SIZE) / h),
|
|
339
|
+
color: CHART_LABEL_COLOR,
|
|
340
|
+
},
|
|
341
|
+
]);
|
|
342
|
+
});
|
|
343
|
+
return texts.length === 0 ? null : JSON.stringify(texts);
|
|
344
|
+
}
|
|
345
|
+
/** How many of the file's lengths one of Cytoscape's chart units is: it draws a chart at twice the node's scale. */
|
|
346
|
+
const CHART_UNIT = 0.5;
|
|
347
|
+
/**
|
|
348
|
+
* How far in from the disc a pie would fill Cytoscape draws a chart's plot, in the file's lengths, measured from its
|
|
349
|
+
* SVG export of the specimen sheets (60 nodes): the chart's own box is 0.9 of the node less 0.9, its plot 1 less
|
|
350
|
+
* again, a heat map's 2 less.
|
|
351
|
+
*/
|
|
352
|
+
const CHART_INSET = 0.9;
|
|
353
|
+
const PLOT_INSET = 1;
|
|
354
|
+
const HEAT_MAP_INSET = 2;
|
|
355
|
+
/** The default outline Cytoscape draws round each bar and box, in chart units: JFreeChart's dark gray, a quarter wide. */
|
|
356
|
+
const BAR_OUTLINE = { color: "#404040", width: 0.25 };
|
|
357
|
+
/** How much of the category side JFreeChart leaves at each end of a bar and a box chart, and of a line chart. */
|
|
358
|
+
const BAR_MARGIN = 0.025;
|
|
359
|
+
const LINE_MARGIN = -0.0125;
|
|
360
|
+
/** The share of its range JFreeChart adds above a line chart's, and above an automatic range's top. */
|
|
361
|
+
const RANGE_HEADROOM = 0.1;
|
|
362
|
+
/**
|
|
363
|
+
* A color between two `#rrggbb` colors, each channel rounded, as Cytoscape interpolates a heat map's.
|
|
364
|
+
* @param a - the color at 0
|
|
365
|
+
* @param b - the color at 1
|
|
366
|
+
* @param t - how far, 0..1
|
|
367
|
+
* @returns the color
|
|
368
|
+
*/
|
|
369
|
+
function mix(a, b, t) {
|
|
370
|
+
const rgb = (c) => [1, 3, 5].map((k) => Number.parseInt(c.slice(k, k + 2), 16));
|
|
371
|
+
const [x, y] = [rgb(a), rgb(b)];
|
|
372
|
+
if ([...x, ...y].some((v) => !Number.isFinite(v))) {
|
|
373
|
+
return a;
|
|
374
|
+
}
|
|
375
|
+
const u = Math.max(0, Math.min(1, t));
|
|
376
|
+
return `#${x
|
|
377
|
+
.map((v, k) => Math.round(v + (y[k] - v) * u)
|
|
378
|
+
.toString(16)
|
|
379
|
+
.padStart(2, "0"))
|
|
380
|
+
.join("")}`;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* A value's color on Cytoscape's three-color scale (`[up, zero, down]`): from the zero color toward the up color as
|
|
384
|
+
* the value nears the top of the range, toward the down color as it nears the bottom (`cy-heat-map`: 5 of 0..10
|
|
385
|
+
* half way from #F7F7F7 to #2166AC).
|
|
386
|
+
* @param colors - the three colors
|
|
387
|
+
* @param v - the value
|
|
388
|
+
* @param range - the range
|
|
389
|
+
* @returns the color
|
|
390
|
+
*/
|
|
391
|
+
function scaleColor(colors, v, range) {
|
|
392
|
+
const [up, zero, down] = [colors[0], colors[1] ?? colors[0], colors[2] ?? colors[0]];
|
|
393
|
+
if (v >= 0) {
|
|
394
|
+
return mix(zero, up, range[1] > 0 ? v / range[1] : 0);
|
|
395
|
+
}
|
|
396
|
+
return mix(zero, down, range[0] < 0 ? v / range[0] : 0);
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* The quartiles, median and whiskers JFreeChart draws a box chart's values as (`BoxAndWhiskerCalculator`): the
|
|
400
|
+
* quartiles are the medians of each half, the middle value in both halves of an odd count; each whisker reaches the
|
|
401
|
+
* furthest value within 1.5 times the quartiles' spread.
|
|
402
|
+
* @param values - the values
|
|
403
|
+
* @returns low whisker, lower quartile, median, upper quartile, high whisker
|
|
404
|
+
*/
|
|
405
|
+
function boxStats(values) {
|
|
406
|
+
const v = [...values].sort((a, b) => a - b);
|
|
407
|
+
const median = (list) => {
|
|
408
|
+
const m = list.length / 2;
|
|
409
|
+
return list.length % 2 === 1 ? list[Math.floor(m)] : (list[m - 1] + list[m]) / 2;
|
|
410
|
+
};
|
|
411
|
+
const half = Math.ceil(v.length / 2);
|
|
412
|
+
const [q1, q3] = [median(v.slice(0, half)), median(v.slice(v.length - half))];
|
|
413
|
+
const reach = 1.5 * (q3 - q1);
|
|
414
|
+
const inside = v.filter((x) => x >= q1 - reach && x <= q3 + reach);
|
|
415
|
+
// never empty: the middle values lie between the quartiles
|
|
416
|
+
return [inside[0], q1, median(v), q3, inside.at(-1) ?? q3];
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* How large a chart's plot is drawn: inside the disc a pie fills, as a share of the node.
|
|
420
|
+
* @param kind - the chart's class
|
|
421
|
+
* @param box - the pie's width and the node's shorter side, or null when the node's size is unknown
|
|
422
|
+
* @returns `chartSize`, or nothing when the node's size is unknown
|
|
423
|
+
*/
|
|
424
|
+
function plotSize(kind, box) {
|
|
425
|
+
const sized = box !== null && box.side > 0;
|
|
426
|
+
if (!sized) {
|
|
427
|
+
return {};
|
|
428
|
+
}
|
|
429
|
+
// ponytail: the insets are measured on 60 nodes only; whether they scale with the node is not known
|
|
430
|
+
const inset = CHART_INSET + (kind === "HeatMapChart" ? HEAT_MAP_INSET : PLOT_INSET);
|
|
431
|
+
return { chartSize: num6(Math.max(0, box.disc - inset) / box.side) };
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* The outline Cytoscape draws round each bar and box.
|
|
435
|
+
* @param options - the chart's options
|
|
436
|
+
* @returns `chartBorderColor` and `chartBorderWidth`
|
|
437
|
+
*/
|
|
438
|
+
function chartOutline(options) {
|
|
439
|
+
const color = typeof options.cy_borderColor === "string" ? options.cy_borderColor : BAR_OUTLINE.color;
|
|
440
|
+
return {
|
|
441
|
+
chartBorderColor: color.toLowerCase(),
|
|
442
|
+
chartBorderWidth: num6(CHART_UNIT * (Number(options.cy_borderWidth ?? BAR_OUTLINE.width) || 0)),
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* A bar chart's own properties: grouped, stacked, up and down (the first color up, the last down) or heat strips
|
|
447
|
+
* (each bar colored on the three-color scale).
|
|
448
|
+
* @param options - its options
|
|
449
|
+
* @param finite - the node's values that are numbers
|
|
450
|
+
* @param colors - its colors
|
|
451
|
+
* @param range - its range
|
|
452
|
+
* @param horizontal - whether its orientation is horizontal
|
|
453
|
+
* @returns the properties
|
|
454
|
+
*/
|
|
455
|
+
function barChart(options, finite, colors, range, horizontal) {
|
|
456
|
+
const type = typeof options.cy_type === "string" ? options.cy_type : "GROUPED";
|
|
457
|
+
const stacked = type === "STACKED";
|
|
458
|
+
return {
|
|
459
|
+
chartKind: stacked ? "stacked-bar" : "bar",
|
|
460
|
+
chartValues: finite.join(" "),
|
|
461
|
+
chartColors: finite.map((v, k) => barColor(type, colors, v, k, range)).join(" "),
|
|
462
|
+
chartMin: range[0],
|
|
463
|
+
chartMax: range[1],
|
|
464
|
+
// Cytoscape lays a stacked bar's values across the node when its orientation says up
|
|
465
|
+
chartHorizontal: stacked ? !horizontal : horizontal,
|
|
466
|
+
chartMargin: BAR_MARGIN,
|
|
467
|
+
chartGap: num6(Math.max(0, Math.min(1, Number(options.cy_separation ?? 0) || 0))),
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* One bar's color.
|
|
472
|
+
* @param type - the bar chart's type
|
|
473
|
+
* @param colors - its colors
|
|
474
|
+
* @param v - the bar's value
|
|
475
|
+
* @param k - the bar's place
|
|
476
|
+
* @param range - the chart's range
|
|
477
|
+
* @returns the color
|
|
478
|
+
*/
|
|
479
|
+
function barColor(type, colors, v, k, range) {
|
|
480
|
+
if (type === "HEAT_STRIPS") {
|
|
481
|
+
return scaleColor(colors, v, range);
|
|
482
|
+
}
|
|
483
|
+
if (type === "UP_DOWN") {
|
|
484
|
+
return colors[v >= 0 ? 0 : colors.length - 1].toLowerCase();
|
|
485
|
+
}
|
|
486
|
+
return colors[Math.min(k, colors.length - 1)].toLowerCase();
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* A bar, line, box or heat map chart as the neutral `chart*` properties, as Cytoscape 3.10.5 draws it (measured from
|
|
490
|
+
* its own SVG export of the specimen sheets: JFreeChart plots in a square box inset from the disc a pie fills).
|
|
491
|
+
* @param kind - the chart's class
|
|
492
|
+
* @param options - its options
|
|
493
|
+
* @param values - the node's values for its data columns
|
|
494
|
+
* @param colors - its colors
|
|
495
|
+
* @param box - how far across a pie would be drawn on the node and the node's shorter side, in the file's lengths;
|
|
496
|
+
* null when the node's size is unknown
|
|
497
|
+
* @param box.disc - the pie's width
|
|
498
|
+
* @param box.side - the node's shorter side
|
|
499
|
+
* @returns the properties to set
|
|
500
|
+
*/
|
|
501
|
+
function plotChart(kind, options, values, colors, box) {
|
|
502
|
+
const finite = values.filter((v) => Number.isFinite(v));
|
|
503
|
+
if (finite.length === 0 || colors.length === 0) {
|
|
504
|
+
// ponytail: a chart colored by a named scheme (cy_colorScheme) without its colors is not drawn
|
|
505
|
+
return {};
|
|
506
|
+
}
|
|
507
|
+
const given = Array.isArray(options.cy_range) ? options.cy_range.map(Number) : [];
|
|
508
|
+
const global = options.cy_globalRange !== false && given.length === 2 && given.every((v) => Number.isFinite(v));
|
|
509
|
+
// an automatic range holds zero and the values, with headroom above
|
|
510
|
+
const auto = [Math.min(0, ...finite), Math.max(0, ...finite)];
|
|
511
|
+
auto[1] += RANGE_HEADROOM * (auto[1] - auto[0]);
|
|
512
|
+
const range = global ? [given[0], given[1]] : auto;
|
|
513
|
+
const horizontal = options.cy_orientation === "HORIZONTAL";
|
|
514
|
+
const out = plotSize(kind, box);
|
|
515
|
+
const outline = chartOutline(options);
|
|
516
|
+
switch (kind) {
|
|
517
|
+
case "BarChart":
|
|
518
|
+
Object.assign(out, outline, barChart(options, finite, colors, range, horizontal));
|
|
519
|
+
break;
|
|
520
|
+
case "LineChart":
|
|
521
|
+
// drawn up the node whatever its orientation, with headroom above its range
|
|
522
|
+
Object.assign(out, {
|
|
523
|
+
chartKind: "line",
|
|
524
|
+
chartValues: finite.join(" "),
|
|
525
|
+
chartColors: colors[0].toLowerCase(),
|
|
526
|
+
chartMin: range[0],
|
|
527
|
+
chartMax: num6(range[1] + (global ? RANGE_HEADROOM * (range[1] - range[0]) : 0)),
|
|
528
|
+
chartMargin: LINE_MARGIN,
|
|
529
|
+
chartLineWidth: num6(CHART_UNIT * (Number(options.cy_lineWidth ?? 1) || 0)),
|
|
530
|
+
});
|
|
531
|
+
break;
|
|
532
|
+
case "BoxChart":
|
|
533
|
+
Object.assign(out, outline, {
|
|
534
|
+
chartKind: "box",
|
|
535
|
+
chartValues: boxStats(finite).map(num6).join(" "),
|
|
536
|
+
chartColors: `${colors[0].toLowerCase()} #000000`,
|
|
537
|
+
chartMin: range[0],
|
|
538
|
+
chartMax: range[1],
|
|
539
|
+
chartHorizontal: horizontal,
|
|
540
|
+
chartMargin: BAR_MARGIN,
|
|
541
|
+
chartLineWidth: num6(CHART_UNIT * BAR_OUTLINE.width),
|
|
542
|
+
});
|
|
543
|
+
break;
|
|
544
|
+
case "HeatMapChart": {
|
|
545
|
+
// one cell per value, top to bottom; laid left to right, the last value first
|
|
546
|
+
const cells = horizontal ? [...finite].reverse() : finite;
|
|
547
|
+
Object.assign(out, {
|
|
548
|
+
chartKind: "cells",
|
|
549
|
+
chartValues: cells.join(" "),
|
|
550
|
+
chartColors: cells.map((v) => scaleColor(colors, v, range)).join(" "),
|
|
551
|
+
chartHorizontal: !horizontal,
|
|
552
|
+
});
|
|
553
|
+
break;
|
|
554
|
+
}
|
|
555
|
+
default:
|
|
556
|
+
break;
|
|
557
|
+
}
|
|
558
|
+
return out;
|
|
559
|
+
}
|
|
560
|
+
//# sourceMappingURL=charts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"charts.js","sourceRoot":"","sources":["../../../../src/styles/cytoscape/charts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAG1C,mFAAmF;AACnF,MAAM,YAAY,GAAG,GAAG,CAAC;AAEzB,wFAAwF;AACxF,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,qEAAqE;AACrE,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAuB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAyB1F,yDAAyD;AACzD,MAAM,WAAW,GAAG,iFAAiF,CAAC;AAEtG;;;;GAIG;AACH,SAAS,OAAO,CAAC,GAAY;IACzB,iGAAiG;IACjG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACjE,MAAM,C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