@graphty/graph-io 0.3.48 → 0.3.50
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-C2riR4NT.js → approximations-BRXsll0T.js} +2 -2
- package/dist/chunks/{approximations-C2riR4NT.js.map → approximations-BRXsll0T.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-Cu22ewuS.js → block-yl0f_qLO.js} +931 -164
- package/dist/chunks/block-yl0f_qLO.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-CV_Bhcyi.js → codes-BE2xir2k.js} +6 -2
- package/dist/chunks/codes-BE2xir2k.js.map +1 -0
- package/dist/chunks/{constants-D0LqcsLJ.js → constants-CKkYLPtt.js} +2 -2
- package/dist/chunks/{constants-D0LqcsLJ.js.map → constants-CKkYLPtt.js.map} +1 -1
- package/dist/chunks/{context-cgmmOxZ2.js → context-DizmppHy.js} +5 -4
- package/dist/chunks/{context-cgmmOxZ2.js.map → context-DizmppHy.js.map} +1 -1
- 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-BiQsnMTb.js → credentials-CmvJXYeH.js} +67 -16
- package/dist/chunks/credentials-CmvJXYeH.js.map +1 -0
- package/dist/chunks/{cx-export-BEeF6ymo.js → cx-export-Bt6NoqTQ.js} +3 -3
- package/dist/chunks/{cx-export-BEeF6ymo.js.map → cx-export-Bt6NoqTQ.js.map} +1 -1
- package/dist/chunks/descriptor-B28U25x4.js +60 -0
- package/dist/chunks/descriptor-B28U25x4.js.map +1 -0
- package/dist/chunks/{descriptor-BJ-W0Jd-.js → descriptor-Dhez_Cew.js} +11 -2
- package/dist/chunks/descriptor-Dhez_Cew.js.map +1 -0
- package/dist/chunks/{emit-CD8xnY8s.js → emit-7Jkpg0yd.js} +1788 -133
- package/dist/chunks/emit-7Jkpg0yd.js.map +1 -0
- package/dist/chunks/{escape-DH2Egt-l.js → escape-CuCIzNMB.js} +8 -8
- package/dist/chunks/{escape-DH2Egt-l.js.map → escape-CuCIzNMB.js.map} +1 -1
- package/dist/chunks/{export-CZ7VRm4I.js → export-Cha4dRFz.js} +45 -387
- package/dist/chunks/export-Cha4dRFz.js.map +1 -0
- package/dist/chunks/{exporter-ChjL5fmP.js → exporter-1Ajud15J.js} +9 -8
- package/dist/chunks/{exporter-ChjL5fmP.js.map → exporter-1Ajud15J.js.map} +1 -1
- package/dist/chunks/{exporter-BIdaoIgh.js → exporter-B6yvL3wy.js} +7 -7
- package/dist/chunks/{exporter-BIdaoIgh.js.map → exporter-B6yvL3wy.js.map} +1 -1
- package/dist/chunks/{exporter-Dcw7Ldtq.js → exporter-BP6otMO6.js} +6 -6
- package/dist/chunks/{exporter-Dcw7Ldtq.js.map → exporter-BP6otMO6.js.map} +1 -1
- package/dist/chunks/{exporter-DtVU80Fa.js → exporter-CA5q8ROP.js} +9 -8
- package/dist/chunks/{exporter-DtVU80Fa.js.map → exporter-CA5q8ROP.js.map} +1 -1
- package/dist/chunks/{exporter-bxxjOrDZ.js → exporter-CQQZFJ2v.js} +1284 -156
- package/dist/chunks/exporter-CQQZFJ2v.js.map +1 -0
- package/dist/chunks/format-BXiAb-1h.js +408 -0
- package/dist/chunks/format-BXiAb-1h.js.map +1 -0
- package/dist/chunks/{generic-CP6YD34u.js → generic-Dc21MAdg.js} +387 -31
- package/dist/chunks/generic-Dc21MAdg.js.map +1 -0
- package/dist/chunks/{importer-B87_fmVx.js → importer-C6NVpCXp.js} +327 -84
- package/dist/chunks/importer-C6NVpCXp.js.map +1 -0
- package/dist/chunks/{importer-DPZDN40-.js → importer-CKFe4q54.js} +25 -17
- package/dist/chunks/importer-CKFe4q54.js.map +1 -0
- package/dist/chunks/{importer-Bji2MeWr.js → importer-CKbUbsJA.js} +13 -10
- package/dist/chunks/{importer-Bji2MeWr.js.map → importer-CKbUbsJA.js.map} +1 -1
- package/dist/chunks/{importer-CB_zV5_L.js → importer-ClCsdgTJ.js} +208 -1104
- package/dist/chunks/importer-ClCsdgTJ.js.map +1 -0
- package/dist/chunks/{importer-e3huMZbm.js → importer-CyVZTrf0.js} +14 -10
- package/dist/chunks/importer-CyVZTrf0.js.map +1 -0
- package/dist/chunks/{importer-CVT-JyDE.js → importer-DgG4v1Ms.js} +1537 -355
- package/dist/chunks/importer-DgG4v1Ms.js.map +1 -0
- package/dist/chunks/{importer-Cyy6UseH.js → importer-asFUrIsj.js} +66 -13
- package/dist/chunks/importer-asFUrIsj.js.map +1 -0
- package/dist/chunks/{input-Ccg9I22A.js → input-CAxt_aV-.js} +4 -4
- package/dist/chunks/{input-Ccg9I22A.js.map → input-CAxt_aV-.js.map} +1 -1
- package/dist/chunks/{json-elements-By172SVq.js → json-elements-Cq76WjnZ.js} +4 -4
- package/dist/chunks/{json-elements-By172SVq.js.map → json-elements-Cq76WjnZ.js.map} +1 -1
- package/dist/chunks/{lexicon-u2SI5xcx.js → lexicon-IVRq2Uoo.js} +282 -74
- package/dist/chunks/lexicon-IVRq2Uoo.js.map +1 -0
- package/dist/chunks/{ontology-export-BwgMyuF0.js → ontology-export-OMo91mb0.js} +4 -4
- package/dist/chunks/{ontology-export-BwgMyuF0.js.map → ontology-export-OMo91mb0.js.map} +1 -1
- package/dist/chunks/{records-Cgvxz-Vx.js → records-NJiYvekn.js} +2 -2
- package/dist/chunks/{records-Cgvxz-Vx.js.map → records-NJiYvekn.js.map} +1 -1
- package/dist/chunks/{report-CgdsL9Hb.js → report-CwMfYa9J.js} +23 -23
- package/dist/chunks/{report-CgdsL9Hb.js.map → report-CwMfYa9J.js.map} +1 -1
- package/dist/chunks/round-trip-Cy3_SHRZ.js +79 -0
- package/dist/chunks/round-trip-Cy3_SHRZ.js.map +1 -0
- package/dist/chunks/{sigv4-LkAzsLAu.js → sigv4-BXwVbza3.js} +5 -5
- package/dist/chunks/sigv4-BXwVbza3.js.map +1 -0
- package/dist/chunks/{styles-CaABMoO1.js → styles-CAVmBLgp.js} +1237 -138
- package/dist/chunks/styles-CAVmBLgp.js.map +1 -0
- package/dist/chunks/styles-CPczw1Jz.js +1928 -0
- package/dist/chunks/styles-CPczw1Jz.js.map +1 -0
- package/dist/chunks/styles-boK6Ln54.js +2847 -0
- package/dist/chunks/styles-boK6Ln54.js.map +1 -0
- package/dist/chunks/{styles-yed-Cs1nmrjn.js → styles-yed-XeFBQ6VS.js} +506 -175
- package/dist/chunks/styles-yed-XeFBQ6VS.js.map +1 -0
- package/dist/chunks/{text-BuKQVMz2.js → text-ystE2bYi.js} +2 -2
- package/dist/chunks/{text-BuKQVMz2.js.map → text-ystE2bYi.js.map} +1 -1
- package/dist/csv.js +7 -7
- package/dist/cx.js +2 -2
- package/dist/cx2.js +2 -2
- package/dist/cys.js +1 -1
- package/dist/dot.js +8 -4
- package/dist/dot.js.map +1 -1
- package/dist/gexf.js +42 -12
- package/dist/gexf.js.map +1 -1
- package/dist/gml.js +848 -194
- package/dist/gml.js.map +1 -1
- package/dist/graph-io.js +230 -193
- 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 -6
- 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.js +141 -23
- package/dist/sources-cypher.js.map +1 -1
- package/dist/sources-ndex.js +2 -2
- package/dist/sources-rest.js +32 -6
- package/dist/sources-rest.js.map +1 -1
- package/dist/sources-sparql.d.ts +1 -0
- package/dist/sources-sparql.js +439 -0
- package/dist/sources-sparql.js.map +1 -0
- 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 +117 -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/exporter.d.ts.map +1 -1
- package/dist/src/formats/dot/exporter.js +34 -2
- package/dist/src/formats/dot/exporter.js.map +1 -1
- package/dist/src/formats/dot/importer.d.ts +6 -1
- package/dist/src/formats/dot/importer.d.ts.map +1 -1
- package/dist/src/formats/dot/importer.js +170 -33
- package/dist/src/formats/dot/importer.js.map +1 -1
- package/dist/src/formats/dot/index.d.ts +3 -1
- package/dist/src/formats/dot/index.d.ts.map +1 -1
- package/dist/src/formats/dot/index.js +2 -1
- package/dist/src/formats/dot/index.js.map +1 -1
- package/dist/src/formats/dot/label-places.d.ts +41 -0
- package/dist/src/formats/dot/label-places.d.ts.map +1 -0
- package/dist/src/formats/dot/label-places.js +185 -0
- package/dist/src/formats/dot/label-places.js.map +1 -0
- package/dist/src/formats/dot/names.d.ts +13 -0
- package/dist/src/formats/dot/names.d.ts.map +1 -1
- package/dist/src/formats/dot/names.js +13 -0
- package/dist/src/formats/dot/names.js.map +1 -1
- 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 +72 -2
- package/dist/src/formats/dot/styles.d.ts.map +1 -1
- package/dist/src/formats/dot/styles.js +1500 -119
- 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 +58 -31
- package/dist/src/formats/gexf/styles.d.ts.map +1 -1
- package/dist/src/formats/gexf/styles.js +848 -225
- 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 +754 -102
- 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 +6 -10
- 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 +695 -164
- 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 +431 -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 +1843 -136
- package/dist/src/formats/json/styles.js.map +1 -1
- package/dist/src/formats/pajek/draw.d.ts +104 -0
- package/dist/src/formats/pajek/draw.d.ts.map +1 -0
- package/dist/src/formats/pajek/draw.js +382 -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 +1395 -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 +277 -60
- package/dist/src/formats/xgmml/styles.js.map +1 -1
- package/dist/src/index.d.ts +6 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -5
- 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/sources/builtins.d.ts +1 -1
- package/dist/src/sources/builtins.d.ts.map +1 -1
- package/dist/src/sources/builtins.js +8 -2
- package/dist/src/sources/builtins.js.map +1 -1
- package/dist/src/sources/context.d.ts.map +1 -1
- package/dist/src/sources/context.js +1 -0
- package/dist/src/sources/context.js.map +1 -1
- package/dist/src/sources/credentials.d.ts +50 -1
- package/dist/src/sources/credentials.d.ts.map +1 -1
- package/dist/src/sources/credentials.js +69 -0
- package/dist/src/sources/credentials.js.map +1 -1
- package/dist/src/sources/cypher/descriptor.d.ts.map +1 -1
- package/dist/src/sources/cypher/descriptor.js +5 -0
- package/dist/src/sources/cypher/descriptor.js.map +1 -1
- package/dist/src/sources/cypher/index.d.ts.map +1 -1
- package/dist/src/sources/cypher/index.js +125 -18
- package/dist/src/sources/cypher/index.js.map +1 -1
- package/dist/src/sources/cypher/params.d.ts +1 -1
- package/dist/src/sources/cypher/params.d.ts.map +1 -1
- package/dist/src/sources/cypher/query-builder.d.ts +17 -0
- package/dist/src/sources/cypher/query-builder.d.ts.map +1 -1
- package/dist/src/sources/cypher/query-builder.js +31 -0
- package/dist/src/sources/cypher/query-builder.js.map +1 -1
- package/dist/src/sources/ids.d.ts +5 -0
- package/dist/src/sources/ids.d.ts.map +1 -1
- package/dist/src/sources/ids.js +5 -0
- package/dist/src/sources/ids.js.map +1 -1
- package/dist/src/sources/params.d.ts +3 -0
- package/dist/src/sources/params.d.ts.map +1 -1
- package/dist/src/sources/rest/descriptor.d.ts.map +1 -1
- package/dist/src/sources/rest/descriptor.js +9 -0
- package/dist/src/sources/rest/descriptor.js.map +1 -1
- package/dist/src/sources/rest/openalex.d.ts +4 -2
- package/dist/src/sources/rest/openalex.d.ts.map +1 -1
- package/dist/src/sources/rest/openalex.js +4 -2
- package/dist/src/sources/rest/openalex.js.map +1 -1
- package/dist/src/sources/rest/source.d.ts.map +1 -1
- package/dist/src/sources/rest/source.js +38 -0
- package/dist/src/sources/rest/source.js.map +1 -1
- package/dist/src/sources/run.d.ts +2 -0
- package/dist/src/sources/run.d.ts.map +1 -1
- package/dist/src/sources/run.js +30 -3
- package/dist/src/sources/run.js.map +1 -1
- package/dist/src/sources/sigv4.d.ts +5 -3
- package/dist/src/sources/sigv4.d.ts.map +1 -1
- package/dist/src/sources/sigv4.js +6 -4
- package/dist/src/sources/sigv4.js.map +1 -1
- 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 +327 -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 +73 -0
- package/dist/src/sources/sparql/query.d.ts.map +1 -0
- package/dist/src/sources/sparql/query.js +164 -0
- package/dist/src/sources/sparql/query.js.map +1 -0
- package/dist/src/sources/types.d.ts +60 -0
- package/dist/src/sources/types.d.ts.map +1 -1
- 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 +89 -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 +1139 -79
- 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 +4 -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 +232 -10
- 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 +44 -1
- package/dist/src/styles/cyjs/mappers.d.ts.map +1 -1
- package/dist/src/styles/cyjs/mappers.js +475 -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 +156 -48
- package/dist/src/styles/cytoscape/emit.js.map +1 -1
- package/dist/src/styles/cytoscape/lexicon.d.ts +91 -3
- package/dist/src/styles/cytoscape/lexicon.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/lexicon.js +387 -77
- 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 +42 -2
- package/dist/src/styles/cytoscape/resolve.d.ts.map +1 -1
- package/dist/src/styles/cytoscape/resolve.js +623 -17
- package/dist/src/styles/cytoscape/resolve.js.map +1 -1
- package/dist/src/styles/defaults.d.ts +46 -26
- package/dist/src/styles/defaults.d.ts.map +1 -1
- package/dist/src/styles/defaults.js +308 -71
- 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/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 +6 -1
- 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 +11 -0
- package/dist/src/styles/plan/resolve.d.ts.map +1 -1
- package/dist/src/styles/plan/resolve.js +40 -4
- 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 +687 -6
- 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 +224 -0
- package/dist/src/styles/vocabulary.js.map +1 -1
- package/dist/styles.js +30 -239
- package/dist/styles.js.map +1 -1
- package/dist/xgmml.js +3 -3
- package/package.json +27 -7
- package/src/formats/cx/importer.ts +6 -1
- package/src/formats/cx/styles.ts +143 -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/exporter.ts +37 -1
- package/src/formats/dot/importer.ts +192 -36
- package/src/formats/dot/index.ts +3 -1
- package/src/formats/dot/label-places.ts +241 -0
- package/src/formats/dot/names.ts +15 -0
- package/src/formats/dot/record.ts +336 -0
- package/src/formats/dot/styles.ts +1702 -149
- 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 +1099 -245
- 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 +852 -110
- package/src/formats/graphml/styles-plain.ts +6 -15
- package/src/formats/graphml/styles-yed.ts +765 -176
- package/src/formats/graphml/styles-yfiles3.ts +487 -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 +2123 -171
- package/src/formats/pajek/draw.ts +469 -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 +1506 -133
- package/src/formats/pajek/syntax.ts +27 -2
- package/src/formats/xgmml/emit.ts +73 -5
- package/src/formats/xgmml/styles.ts +330 -71
- package/src/index.ts +12 -1
- 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/sources/builtins.ts +8 -1
- package/src/sources/context.ts +1 -0
- package/src/sources/credentials.ts +90 -1
- package/src/sources/cypher/descriptor.ts +7 -1
- package/src/sources/cypher/index.ts +149 -18
- package/src/sources/cypher/params.ts +1 -1
- package/src/sources/cypher/query-builder.ts +33 -0
- package/src/sources/ids.ts +6 -0
- package/src/sources/params.ts +3 -0
- package/src/sources/rest/descriptor.ts +9 -0
- package/src/sources/rest/openalex.ts +4 -2
- package/src/sources/rest/source.ts +41 -0
- package/src/sources/run.ts +35 -3
- package/src/sources/sigv4.ts +6 -4
- package/src/sources/sparql/descriptor.ts +67 -0
- package/src/sources/sparql/index.ts +371 -0
- package/src/sources/sparql/ntriples.ts +219 -0
- package/src/sources/sparql/params.ts +28 -0
- package/src/sources/sparql/query.ts +216 -0
- package/src/sources/types.ts +68 -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 +107 -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 +1303 -84
- package/src/styles/cyjs/defaults-table.ts +4 -0
- package/src/styles/cyjs/emit.ts +268 -14
- package/src/styles/cyjs/face.ts +372 -0
- package/src/styles/cyjs/mappers.ts +506 -27
- package/src/styles/cyjs/routes.ts +432 -0
- package/src/styles/cytoscape/charts.ts +684 -0
- package/src/styles/cytoscape/emit.ts +170 -48
- package/src/styles/cytoscape/lexicon.ts +431 -78
- package/src/styles/cytoscape/mappings.ts +108 -0
- package/src/styles/cytoscape/resolve.ts +741 -17
- package/src/styles/defaults.ts +417 -108
- package/src/styles/index.ts +5 -0
- package/src/styles/internal.ts +1 -0
- package/src/styles/io/generic.ts +79 -23
- package/src/styles/io/round-trip.ts +202 -0
- package/src/styles/io/writer.ts +6 -1
- 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 +47 -4
- package/src/styles/slots.ts +25 -0
- package/src/styles/types.ts +698 -5
- package/src/styles/vocabulary.ts +232 -2
- package/dist/chunks/block-Cu22ewuS.js.map +0 -1
- package/dist/chunks/choose-Cdx6Enl2.js +0 -57
- package/dist/chunks/choose-Cdx6Enl2.js.map +0 -1
- package/dist/chunks/codes-CV_Bhcyi.js.map +0 -1
- package/dist/chunks/convert-BcQ8_jMo.js.map +0 -1
- package/dist/chunks/credentials-BiQsnMTb.js.map +0 -1
- package/dist/chunks/descriptor-BJ-W0Jd-.js.map +0 -1
- package/dist/chunks/emit-CD8xnY8s.js.map +0 -1
- package/dist/chunks/export-CZ7VRm4I.js.map +0 -1
- package/dist/chunks/exporter-bxxjOrDZ.js.map +0 -1
- package/dist/chunks/format-BMS-1Nxb.js +0 -64
- package/dist/chunks/format-BMS-1Nxb.js.map +0 -1
- package/dist/chunks/generic-CP6YD34u.js.map +0 -1
- package/dist/chunks/importer-B87_fmVx.js.map +0 -1
- package/dist/chunks/importer-CB_zV5_L.js.map +0 -1
- package/dist/chunks/importer-CVT-JyDE.js.map +0 -1
- package/dist/chunks/importer-Cyy6UseH.js.map +0 -1
- package/dist/chunks/importer-DPZDN40-.js.map +0 -1
- package/dist/chunks/importer-e3huMZbm.js.map +0 -1
- package/dist/chunks/lexicon-u2SI5xcx.js.map +0 -1
- package/dist/chunks/sigv4-LkAzsLAu.js.map +0 -1
- package/dist/chunks/styles-CaABMoO1.js.map +0 -1
- package/dist/chunks/styles-P_gmFAOi.js +0 -770
- package/dist/chunks/styles-P_gmFAOi.js.map +0 -1
- package/dist/chunks/styles-yed-Cs1nmrjn.js.map +0 -1
- package/dist/chunks/writer-DvHTl36J.js +0 -449
- package/dist/chunks/writer-DvHTl36J.js.map +0 -1
package/src/styles/types.ts
CHANGED
|
@@ -40,6 +40,7 @@ export type StyleNodeShape =
|
|
|
40
40
|
| "trapezoid"
|
|
41
41
|
| "star"
|
|
42
42
|
| "vee"
|
|
43
|
+
| "polygon"
|
|
43
44
|
| "none"
|
|
44
45
|
| `other:${string}`;
|
|
45
46
|
|
|
@@ -49,6 +50,14 @@ export type StyleNodeShape =
|
|
|
49
50
|
*/
|
|
50
51
|
export type StyleBorderStyle = "solid" | "dashed" | "dotted" | "dash-dot" | "double" | `other:${string}`;
|
|
51
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Where a node's border sits against its `width` and `height`: `center` runs the border's middle along them, half
|
|
55
|
+
* in and half out, the way an SVG or canvas stroke is drawn (most programs); `inside` keeps the whole border within
|
|
56
|
+
* them, so the node is drawn no larger than its size (Cytoscape desktop); `outside` draws it wholly beyond them.
|
|
57
|
+
* @category Styles
|
|
58
|
+
*/
|
|
59
|
+
export type StyleBorderPosition = "inside" | "center" | "outside";
|
|
60
|
+
|
|
52
61
|
/**
|
|
53
62
|
* Edge line styles; unknown spellings are kept as `other:<raw>`.
|
|
54
63
|
* @category Styles
|
|
@@ -76,6 +85,12 @@ export type StyleArrowShape =
|
|
|
76
85
|
| "inverted"
|
|
77
86
|
| `other:${string}`;
|
|
78
87
|
|
|
88
|
+
/**
|
|
89
|
+
* The side of its line an arrowhead cut along the line keeps, looking along the line toward the arrowhead's tip.
|
|
90
|
+
* @category Styles
|
|
91
|
+
*/
|
|
92
|
+
export type StyleArrowSide = "left" | "right";
|
|
93
|
+
|
|
79
94
|
/**
|
|
80
95
|
* Label font weights.
|
|
81
96
|
* @category Styles
|
|
@@ -83,8 +98,9 @@ export type StyleArrowShape =
|
|
|
83
98
|
export type StyleLabelWeight = "normal" | "bold";
|
|
84
99
|
|
|
85
100
|
/**
|
|
86
|
-
* Where a node's label sits relative to the node
|
|
87
|
-
* `inside
|
|
101
|
+
* Where a node's label sits relative to the node: `center` in its middle, a side or corner (`top`, `bottom-left`, ...)
|
|
102
|
+
* outside the node beyond that side, and an `inside-` side or corner inside the node against that side, as a group's
|
|
103
|
+
* header label sits along its top.
|
|
88
104
|
* @category Styles
|
|
89
105
|
*/
|
|
90
106
|
export type StyleLabelPosition =
|
|
@@ -97,7 +113,32 @@ export type StyleLabelPosition =
|
|
|
97
113
|
| "top-right"
|
|
98
114
|
| "bottom-left"
|
|
99
115
|
| "bottom-right"
|
|
100
|
-
| "inside-top"
|
|
116
|
+
| "inside-top"
|
|
117
|
+
| "inside-bottom"
|
|
118
|
+
| "inside-left"
|
|
119
|
+
| "inside-right"
|
|
120
|
+
| "inside-top-left"
|
|
121
|
+
| "inside-top-right"
|
|
122
|
+
| "inside-bottom-left"
|
|
123
|
+
| "inside-bottom-right";
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* How a label's lines line up with one another: their left edges, their middles or their right edges.
|
|
127
|
+
* @category Styles
|
|
128
|
+
*/
|
|
129
|
+
export type StyleLabelTextAlign = "left" | "center" | "right";
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* How a node grows to hold its label, when it does: its `width` and `height` are then minimums, and the label's box
|
|
133
|
+
* (as wide as its widest line and as tall as its lines at one `labelSize` each), with `labelPaddingX` and
|
|
134
|
+
* `labelPaddingY` added on each side, decides the rest.
|
|
135
|
+
*
|
|
136
|
+
* - `inside`: the padded box fits inside the node's outline, so an ellipse or a diamond grows past the box's corners
|
|
137
|
+
* (Graphviz).
|
|
138
|
+
* - `bounds`: the padded box is the node's width and height, whatever its shape (vis-network).
|
|
139
|
+
* @category Styles
|
|
140
|
+
*/
|
|
141
|
+
export type StyleLabelFit = "inside" | "bounds";
|
|
101
142
|
|
|
102
143
|
/**
|
|
103
144
|
* The neutral node properties and the type of each value. Lengths are in the unit `FileStyles.units.length`
|
|
@@ -107,6 +148,29 @@ export type StyleLabelPosition =
|
|
|
107
148
|
export interface NodeStyleValues {
|
|
108
149
|
/** The fill color. */
|
|
109
150
|
readonly fill: StyleColor;
|
|
151
|
+
/**
|
|
152
|
+
* The color a linear gradient fill runs into: the fill is `fill` at the start of the gradient and this at its end.
|
|
153
|
+
* Unset, the fill is flat.
|
|
154
|
+
*/
|
|
155
|
+
readonly fillGradient: StyleColor;
|
|
156
|
+
/**
|
|
157
|
+
* Which way a gradient fill runs, in degrees on the screen: 0 from left to right, 90 from top to bottom, 45 from
|
|
158
|
+
* the top-left corner to the bottom-right one. Unset, 0.
|
|
159
|
+
*/
|
|
160
|
+
readonly fillGradientAngle: number;
|
|
161
|
+
/**
|
|
162
|
+
* Every color a gradient fill runs through, from its start to its end, `#rrggbb` separated by spaces (Cytoscape.js
|
|
163
|
+
* `background-gradient-stop-colors`), in place of `fill` and `fillGradient` for the gradient. Unset, the gradient
|
|
164
|
+
* runs from `fill` into `fillGradient`.
|
|
165
|
+
*/
|
|
166
|
+
readonly fillGradientColors: string;
|
|
167
|
+
/**
|
|
168
|
+
* Where each color of a gradient fill sits, fractions from 0 to 1 separated by spaces, one per color
|
|
169
|
+
* (`fillGradientColors`, else `fill` and `fillGradient`); absent, evenly spaced.
|
|
170
|
+
*/
|
|
171
|
+
readonly fillGradientStops: string;
|
|
172
|
+
/** How a gradient fill runs: `linear` across the node (`fillGradientAngle`), or `radial` out from its middle. */
|
|
173
|
+
readonly fillGradientKind: string;
|
|
110
174
|
/** The border (outline) color. */
|
|
111
175
|
readonly borderColor: StyleColor;
|
|
112
176
|
/** The label's text color. */
|
|
@@ -115,6 +179,8 @@ export interface NodeStyleValues {
|
|
|
115
179
|
readonly fillOpacity: number;
|
|
116
180
|
/** The opacity of the whole node, 0..1. */
|
|
117
181
|
readonly opacity: number;
|
|
182
|
+
/** The opacity of the border alone, 0..1 (0 draws no border). */
|
|
183
|
+
readonly borderOpacity: number;
|
|
118
184
|
/** The width. */
|
|
119
185
|
readonly width: number;
|
|
120
186
|
/** The height. */
|
|
@@ -125,12 +191,135 @@ export interface NodeStyleValues {
|
|
|
125
191
|
readonly cornerRadius: number;
|
|
126
192
|
/** The label's font size. */
|
|
127
193
|
readonly labelSize: number;
|
|
194
|
+
/** The width the label's lines wrap at, in the unit of `width`; unset, a line is as long as its words. */
|
|
195
|
+
readonly labelWrapWidth: number;
|
|
196
|
+
/**
|
|
197
|
+
* Whether a space after each word counts toward `labelWrapWidth`, the last word's too: a line keeps a word only
|
|
198
|
+
* while the word and a space after it still fit, as Cytoscape desktop measures a line (Cytoscape.js does so for
|
|
199
|
+
* every word but a line's last). Unset or false, only the words count, as a browser wraps text.
|
|
200
|
+
*/
|
|
201
|
+
readonly labelWrapTrailingSpace: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Whether a line wider than `labelWrapWidth` is cut to fit with an ellipsis after it, in place of wrapping
|
|
204
|
+
* (Cytoscape.js `text-wrap: ellipsis`). Unset or false, it wraps.
|
|
205
|
+
*/
|
|
206
|
+
readonly labelWrapEllipsis: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Whether a line may break between any two letters, filling each line to `labelWrapWidth`, not only at spaces
|
|
209
|
+
* (Cytoscape.js `text-overflow-wrap: anywhere`). Unset or false, only at spaces.
|
|
210
|
+
*/
|
|
211
|
+
readonly labelWrapAnywhere: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* How many blanks one blank between two words counts as when a line is measured against `labelWrapWidth`; it
|
|
214
|
+
* is still drawn once (vis-network joins a line's words and blanks each with a blank, so it counts three).
|
|
215
|
+
* Unset, one.
|
|
216
|
+
*/
|
|
217
|
+
readonly labelWrapSpaceCount: number;
|
|
218
|
+
/**
|
|
219
|
+
* Where runs of different sizes in one line of `labelRuns` meet: `baseline` (their alphabetic baselines, the
|
|
220
|
+
* default), `hanging` (their hanging baselines, so their tops line up) or `middle` (their middles).
|
|
221
|
+
*/
|
|
222
|
+
readonly labelRunAlign: string;
|
|
223
|
+
/** Whether and how the node grows to hold its label; unset, `width` and `height` are its size. */
|
|
224
|
+
readonly labelFit: StyleLabelFit;
|
|
225
|
+
/** The space between the label's box and the node's sides, left and right each, when it grows to fit the label. */
|
|
226
|
+
readonly labelPaddingX: number;
|
|
227
|
+
/** The space between the label's box and the node's top and bottom, each, when it grows to fit the label. */
|
|
228
|
+
readonly labelPaddingY: number;
|
|
229
|
+
/** Whether a node that grows to fit its label stays as wide as it is tall (a circle, a square). */
|
|
230
|
+
readonly labelFitSquare: boolean;
|
|
128
231
|
/** The shape. */
|
|
129
232
|
readonly shape: StyleNodeShape;
|
|
233
|
+
/**
|
|
234
|
+
* A `polygon` node's corners, each as `x,y` relative to the node's center as fractions of its half width and half
|
|
235
|
+
* height, y up, separated by spaces: `"0,1 1,-1 -1,-1"` is a triangle filling the box. A corner past 1 reaches
|
|
236
|
+
* outside the box; a node that grows to hold its label (`labelFit`) then grows as far as its corners reach.
|
|
237
|
+
*/
|
|
238
|
+
readonly shapePoints: string;
|
|
239
|
+
/**
|
|
240
|
+
* Whether a `polygon` node's corners are stretched about its center until the farthest on each axis reach its
|
|
241
|
+
* sides (true, the default), or drawn exactly where `shapePoints` puts them (false: OGDF's regular polygons
|
|
242
|
+
* inside the ellipse of the node's box).
|
|
243
|
+
*/
|
|
244
|
+
readonly shapePointsStretch: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* Further closed pieces of the node's body beside its outline: polygons written as `shapePoints` is, separated by
|
|
247
|
+
* ";", drawn where they say (never stretched), each filled as the node is and outlined in its border's color and
|
|
248
|
+
* width: Graphviz's `assembly` is two bars, its `noverhang` four.
|
|
249
|
+
*/
|
|
250
|
+
readonly shapeParts: string;
|
|
251
|
+
/**
|
|
252
|
+
* Lines drawn over the node in its border's color, as `shapeParts` writes polygons: open polylines (one that ends
|
|
253
|
+
* where it starts is closed), `shapeLineWidth` wide: Graphviz's `promoter` baseline, a `box3d`'s edges.
|
|
254
|
+
*/
|
|
255
|
+
readonly shapeLines: string;
|
|
256
|
+
/** How wide `shapeLines` are drawn; unset, the border's width. */
|
|
257
|
+
readonly shapeLineWidth: number;
|
|
258
|
+
/**
|
|
259
|
+
* Further texts drawn on the node in its label's font, size and color, each one line centered on its point: a JSON
|
|
260
|
+
* list of `[x, y, text]`, the point as `shapeParts` writes one (Graphviz's record fields, `[[-0.5, 0, "a"], [0.5,
|
|
261
|
+
* 0, "b"]]`).
|
|
262
|
+
*/
|
|
263
|
+
readonly shapeTexts: string;
|
|
130
264
|
/** The border's line style. */
|
|
131
265
|
readonly borderStyle: StyleBorderStyle;
|
|
266
|
+
/** Where the border sits against the node's width and height. */
|
|
267
|
+
readonly borderPosition: StyleBorderPosition;
|
|
268
|
+
/**
|
|
269
|
+
* How far a zigzag or sine-wave border swings to either side of the ring's middle (a length; Cytoscape desktop's
|
|
270
|
+
* strokes swing 10 px). With it, `borderWidth` is the thickness of the waving line.
|
|
271
|
+
*/
|
|
272
|
+
readonly borderWaveAmplitude: number;
|
|
273
|
+
/** How far round the node a zigzag or sine-wave border runs before it repeats (a length; Cytoscape's: 20 px). */
|
|
274
|
+
readonly borderWavePeriod: number;
|
|
275
|
+
/** A second ring's color, drawn outside the border (Cytoscape.js `outline-color`). */
|
|
276
|
+
readonly outerBorderColor: StyleColor;
|
|
277
|
+
/** That ring's width (a length; Cytoscape.js `outline-width`); 0 or absent draws none. */
|
|
278
|
+
readonly outerBorderWidth: number;
|
|
279
|
+
/** That ring's opacity, 0..1. */
|
|
280
|
+
readonly outerBorderOpacity: number;
|
|
281
|
+
/** That ring's line style. */
|
|
282
|
+
readonly outerBorderStyle: StyleBorderStyle;
|
|
283
|
+
/**
|
|
284
|
+
* How far beyond the border's outer edge that ring starts (a length). Cytoscape.js draws its outline half its
|
|
285
|
+
* `outline-offset` out, so that is what is read.
|
|
286
|
+
*/
|
|
287
|
+
readonly outerBorderOffset: number;
|
|
288
|
+
/**
|
|
289
|
+
* The color of a filled shape drawn beneath the node, `underlayPadding` beyond its box on every side (Cytoscape.js
|
|
290
|
+
* `underlay-*`); drawn only with an `underlayOpacity` above 0.
|
|
291
|
+
*/
|
|
292
|
+
readonly underlayColor: StyleColor;
|
|
293
|
+
/** The opacity of the underlay, 0..1; 0 draws none. */
|
|
294
|
+
readonly underlayOpacity: number;
|
|
295
|
+
/** How far beyond the node's box the underlay reaches on every side (a length). */
|
|
296
|
+
readonly underlayPadding: number;
|
|
297
|
+
/** The underlay's shape; absent, the node's own. */
|
|
298
|
+
readonly underlayShape: StyleNodeShape;
|
|
299
|
+
/** The largest radius of a rounded underlay's corners (a length). */
|
|
300
|
+
readonly underlayCornerRadius: number;
|
|
301
|
+
/** The color of the same filled shape drawn over the node (Cytoscape.js `overlay-*`). */
|
|
302
|
+
readonly overlayColor: StyleColor;
|
|
303
|
+
/** The opacity of the overlay, 0..1; 0 draws none. */
|
|
304
|
+
readonly overlayOpacity: number;
|
|
305
|
+
/** How far beyond the node's box the overlay reaches on every side (a length). */
|
|
306
|
+
readonly overlayPadding: number;
|
|
307
|
+
/** The overlay's shape; absent, the node's own. */
|
|
308
|
+
readonly overlayShape: StyleNodeShape;
|
|
309
|
+
/** The largest radius of a rounded overlay's corners (a length). */
|
|
310
|
+
readonly overlayCornerRadius: number;
|
|
132
311
|
/** The label text, as the tool draws it. */
|
|
133
312
|
readonly label: string;
|
|
313
|
+
/**
|
|
314
|
+
* The label drawn in runs of styles of their own (a program's rich text: vis-network's multi-font labels), as a
|
|
315
|
+
* JSON array of runs left to right, each `{ "text": string, "weight"?: "bold", "italic"?: true, "font"?: string,
|
|
316
|
+
* "size"?: number, "color"?: "#rrggbb", "shift"?: number }`; a run's `text` may hold line breaks. A run gives only
|
|
317
|
+
* what differs from the label's own font (`labelFont`, `labelSize` in the unit of `width`, `labelColor`,
|
|
318
|
+
* `labelWeight`, `labelItalic`); `shift` is how far below the label's line the run is drawn, in the unit of its
|
|
319
|
+
* size (negative: above). Its words, run after run, are `label`. Unset, the label is drawn in its own font
|
|
320
|
+
* throughout.
|
|
321
|
+
*/
|
|
322
|
+
readonly labelRuns: string;
|
|
134
323
|
/** The tooltip text. */
|
|
135
324
|
readonly tooltip: string;
|
|
136
325
|
/** The label's font family, as the file names it. */
|
|
@@ -141,8 +330,225 @@ export interface NodeStyleValues {
|
|
|
141
330
|
readonly labelItalic: boolean;
|
|
142
331
|
/** Where the label sits relative to the node. */
|
|
143
332
|
readonly labelPosition: StyleLabelPosition;
|
|
333
|
+
/** How the label's lines line up with one another: `left`, `center` (the default) or `right`. */
|
|
334
|
+
readonly labelTextAlign: StyleLabelTextAlign;
|
|
335
|
+
/** How far right of where `labelPosition` puts it the label is drawn (a length). */
|
|
336
|
+
readonly labelOffsetX: number;
|
|
337
|
+
/** How far down from where `labelPosition` puts it the label is drawn (a length). */
|
|
338
|
+
readonly labelOffsetY: number;
|
|
339
|
+
/**
|
|
340
|
+
* How far right the label is drawn again, as a fraction of its own width: -0.5 puts its right edge where its middle
|
|
341
|
+
* was. With `labelPosition` `center` and the offsets, it pins any point of the label's box to any point of the
|
|
342
|
+
* node's (Cytoscape desktop's label positions). Measured along the label's own axes, turned by `labelRotation`, so a
|
|
343
|
+
* turned label turns about the point the shift pins, as Cytoscape and Pajek turn a label about its anchor.
|
|
344
|
+
*/
|
|
345
|
+
readonly labelShiftX: number;
|
|
346
|
+
/** How far down the label is drawn again, as a fraction of its own height; see `labelShiftX`. */
|
|
347
|
+
readonly labelShiftY: number;
|
|
348
|
+
/** The opacity of the label's words, 0..1. */
|
|
349
|
+
readonly labelOpacity: number;
|
|
350
|
+
/**
|
|
351
|
+
* The label is not drawn while its letters are drawn smaller than this many screen pixels: a screen size, not a
|
|
352
|
+
* length, so it is never scaled with the file's lengths (vis-network's `scaling.label.drawThreshold`). Unset, the
|
|
353
|
+
* label is drawn at any size.
|
|
354
|
+
*/
|
|
355
|
+
readonly labelMinScreenSize: number;
|
|
356
|
+
/**
|
|
357
|
+
* Whether the label is left out where it would overlap the label of another node drawn before it, the larger label
|
|
358
|
+
* (then the larger node) first, as Gephi's Preview (`node.label.avoidOverlap`) thins out labels. Unset or false,
|
|
359
|
+
* the label is drawn wherever it falls.
|
|
360
|
+
*/
|
|
361
|
+
readonly labelAvoidOverlap: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* The label is not drawn while its node is drawn smaller than this many screen pixels across (the smaller of its
|
|
364
|
+
* width and height): a screen size, not a length, so it is never scaled with the file's lengths (sigma.js's
|
|
365
|
+
* `labelRenderedSizeThreshold`, a radius of 6 px). Unset, the node's size never hides its label.
|
|
366
|
+
*/
|
|
367
|
+
readonly labelMinNodeScreenSize: number;
|
|
368
|
+
/**
|
|
369
|
+
* The node labels are thinned by a grid of square cells this many px across, laid over the drawing as the program
|
|
370
|
+
* first frames it in its canvas (its positions fitted to the canvas): each cell draws the label of its largest node
|
|
371
|
+
* only (then the lesser id), and more of them as the view zooms in, n x n times as many at n times the zoom
|
|
372
|
+
* (sigma.js's `labelGridCellSize`, `labelDensity` 1). Unset, no grid thins the labels.
|
|
373
|
+
*/
|
|
374
|
+
readonly labelGridCellSize: number;
|
|
375
|
+
/**
|
|
376
|
+
* Whether the label is drawn over every node and edge, as sigma.js draws its labels on a layer of their own; unset
|
|
377
|
+
* or false, a nearer node may cover it.
|
|
378
|
+
*/
|
|
379
|
+
readonly labelOnTop: boolean;
|
|
380
|
+
/** How far the label is turned, in degrees clockwise on screen, 0 up to 360. */
|
|
381
|
+
readonly labelRotation: number;
|
|
382
|
+
/** The color of a box drawn behind the label's text (vis-network `font.background`). */
|
|
383
|
+
readonly labelBackground: StyleColor;
|
|
384
|
+
/** The opacity of that box, 0..1. */
|
|
385
|
+
readonly labelBackgroundOpacity: number;
|
|
386
|
+
/** The color of an outline drawn round each letter of the label (vis-network `font.strokeColor`). */
|
|
387
|
+
readonly labelOutlineColor: StyleColor;
|
|
388
|
+
/**
|
|
389
|
+
* How thick that outline is, a stroke centered on the letters' edges, in the units of `labelSize`; 0 draws none
|
|
390
|
+
* (vis-network `font.strokeWidth`).
|
|
391
|
+
*/
|
|
392
|
+
readonly labelOutlineWidth: number;
|
|
393
|
+
/** The color of a line drawn round the box behind the label's words (yEd `lineColor`). */
|
|
394
|
+
readonly labelBorderColor: StyleColor;
|
|
395
|
+
/** How thick that line is, in the units of `labelSize`; 0 draws none. */
|
|
396
|
+
readonly labelBorderWidth: number;
|
|
397
|
+
/** How opaque the outline round the label's letters is, from 0 (none) to 1, over its color. Unset, 1. */
|
|
398
|
+
readonly labelOutlineOpacity: number;
|
|
399
|
+
/** How opaque the line round the box behind the label's words is, from 0 (none) to 1, over its color. Unset, 1. */
|
|
400
|
+
readonly labelBorderOpacity: number;
|
|
401
|
+
/**
|
|
402
|
+
* How far the box behind the label's words (its background and border) reaches past the words' line box on every
|
|
403
|
+
* side, in the units of `labelSize`; 0 puts the border against the words. Unset, the drawing program's default.
|
|
404
|
+
*/
|
|
405
|
+
readonly labelPadding: number;
|
|
406
|
+
/** How far the corners of the box behind the label's words are rounded, in the units of `labelSize`. Unset, square. */
|
|
407
|
+
readonly labelCornerRadius: number;
|
|
408
|
+
/** How tall one line of the label is, as a multiple of its font's ascent plus descent. Unset, 1.2. */
|
|
409
|
+
readonly labelLineHeight: number;
|
|
144
410
|
/** The URI of an image drawn on the node. */
|
|
145
411
|
readonly image: string;
|
|
412
|
+
/**
|
|
413
|
+
* How the image is sized against the node: `contain` (keeps its proportions inside the node), `cover` (keeps them
|
|
414
|
+
* over the whole node), `fill` (stretched to the node), or `none` (`imageWidth` x `imageHeight`, else its own
|
|
415
|
+
* pixels, one length each). Unset, `contain`.
|
|
416
|
+
*/
|
|
417
|
+
readonly imageFit: string;
|
|
418
|
+
/** The image drawn instead when `image` cannot be loaded (vis-network's `brokenImage`). */
|
|
419
|
+
readonly imageFallback: string;
|
|
420
|
+
/** The image's width where `imageFit` is `none` (a length); with only `imageHeight`, its proportions decide. */
|
|
421
|
+
readonly imageWidth: number;
|
|
422
|
+
/** The image's height where `imageFit` is `none` (a length). */
|
|
423
|
+
readonly imageHeight: number;
|
|
424
|
+
/** Where the image sits across the room the node leaves it, 0 (left) to 1 (right); unset, 0.5. */
|
|
425
|
+
readonly imagePositionX: number;
|
|
426
|
+
/** Where the image sits up and down the room the node leaves it, 0 (top) to 1 (bottom); unset, 0.5. */
|
|
427
|
+
readonly imagePositionY: number;
|
|
428
|
+
/** How far right the image is moved from there (a length). */
|
|
429
|
+
readonly imageOffsetX: number;
|
|
430
|
+
/** How far down the image is moved from there (a length). */
|
|
431
|
+
readonly imageOffsetY: number;
|
|
432
|
+
/** Whether the image is tiled: `no-repeat` (unset), `repeat`, `repeat-x` or `repeat-y`. */
|
|
433
|
+
readonly imageRepeat: string;
|
|
434
|
+
/** `node` (unset) keeps the image inside the node's outline; `none` lets it reach past. */
|
|
435
|
+
readonly imageClip: string;
|
|
436
|
+
/** Whether the image's pixels are smoothed when it is scaled; false draws them as squares. Unset, true. */
|
|
437
|
+
readonly imageSmoothing: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* How an image whose `imageFit` is `none` fills the side `imageWidth` or `imageHeight` leaves unset: `proportional`
|
|
440
|
+
* (unset) keeps its proportions to the side given; `natural` draws it at its own pixels (Cytoscape.js's `auto`).
|
|
441
|
+
*/
|
|
442
|
+
readonly imageAutoSize: string;
|
|
443
|
+
/** The image's opacity, 0..1. */
|
|
444
|
+
readonly imageOpacity: number;
|
|
445
|
+
/**
|
|
446
|
+
* A character or short text drawn over the node, centered on it (vis-network's icon nodes: an icon font's
|
|
447
|
+
* glyph), in `glyphFont` (a CSS font family) at `glyphSize` (the font's size, in the units of `width`),
|
|
448
|
+
* `glyphWeight` and `glyphColor`.
|
|
449
|
+
*/
|
|
450
|
+
readonly glyph: string;
|
|
451
|
+
/** The glyph's CSS font family. */
|
|
452
|
+
readonly glyphFont: string;
|
|
453
|
+
/** The glyph's font size, in the units of `width`. */
|
|
454
|
+
readonly glyphSize: number;
|
|
455
|
+
/** The glyph's weight. */
|
|
456
|
+
readonly glyphWeight: StyleLabelWeight;
|
|
457
|
+
/** The glyph's color. */
|
|
458
|
+
readonly glyphColor: string;
|
|
459
|
+
/**
|
|
460
|
+
* The colors of a pie chart drawn over the node, one slice each, `#rrggbb` separated by spaces (Cytoscape.js
|
|
461
|
+
* `pie-N-background-color`, Graphviz `style=wedged`).
|
|
462
|
+
*/
|
|
463
|
+
readonly pieColors: string;
|
|
464
|
+
/** Each slice's share of the turn, fractions separated by spaces; a slice with none shares what is left. */
|
|
465
|
+
readonly pieSizes: string;
|
|
466
|
+
/** Each slice's opacity, 0..1 separated by spaces; unset, 1. */
|
|
467
|
+
readonly pieOpacities: string;
|
|
468
|
+
/** The pie's radius as a fraction of half the node's shorter side; unset, 1. */
|
|
469
|
+
readonly pieRadius: number;
|
|
470
|
+
/** The hole in the pie's middle as a fraction of its radius (a ring chart); unset, 0. */
|
|
471
|
+
readonly pieHole: number;
|
|
472
|
+
/** Where the first slice starts, in degrees clockwise from 12 o'clock; the slices run clockwise. */
|
|
473
|
+
readonly pieRotation: number;
|
|
474
|
+
/** Whether the pie fills the node's box as an ellipse rather than a circle (Graphviz's wedged ellipse). */
|
|
475
|
+
readonly pieFitBox: boolean;
|
|
476
|
+
/** How far right of the node's center the pie's center is (a length; Cytoscape's chart positions). */
|
|
477
|
+
readonly pieOffsetX: number;
|
|
478
|
+
/** How far down from the node's center the pie's center is (a length). */
|
|
479
|
+
readonly pieOffsetY: number;
|
|
480
|
+
/**
|
|
481
|
+
* The colors of bands drawn over the node inside its outline, `#rrggbb` separated by spaces (Cytoscape.js
|
|
482
|
+
* `stripe-N-background-color`, Graphviz `style=striped`).
|
|
483
|
+
*/
|
|
484
|
+
readonly stripeColors: string;
|
|
485
|
+
/** Each band's share of the node, fractions separated by spaces; a band with none shares what is left. */
|
|
486
|
+
readonly stripeSizes: string;
|
|
487
|
+
/** Each band's opacity, 0..1 separated by spaces; unset, 1. */
|
|
488
|
+
readonly stripeOpacities: string;
|
|
489
|
+
/** Which way the bands follow one another: `down` (unset, top to bottom) or `right` (left to right). */
|
|
490
|
+
readonly stripeDirection: string;
|
|
491
|
+
/** The size of the box the bands fill, as a fraction of the node's; unset, 1. */
|
|
492
|
+
readonly stripeSize: number;
|
|
493
|
+
/**
|
|
494
|
+
* A chart drawn over the node (Cytoscape's bar, line, box and heat map charts): `bar` (bars side by side),
|
|
495
|
+
* `stacked-bar` (the values piled into one bar), `line`, `box` (the values are the low whisker, the lower
|
|
496
|
+
* quartile, the median, the upper quartile and the high whisker) or `cells` (a row of colored cells).
|
|
497
|
+
*/
|
|
498
|
+
readonly chartKind: string;
|
|
499
|
+
/** The chart's values, numbers separated by spaces, in the order they are drawn. */
|
|
500
|
+
readonly chartValues: string;
|
|
501
|
+
/** The chart's colors, `#rrggbb` separated by spaces: item i in color i, the last color for the rest. */
|
|
502
|
+
readonly chartColors: string;
|
|
503
|
+
/** The value at the start of the chart's value axis; unset, the smaller of 0 and the least value. */
|
|
504
|
+
readonly chartMin: number;
|
|
505
|
+
/** The value at the end of the chart's value axis; unset, the greatest value. */
|
|
506
|
+
readonly chartMax: number;
|
|
507
|
+
/** Whether the values run left to right (true) or bottom to top (unset); the categories run the other way. */
|
|
508
|
+
readonly chartHorizontal: boolean;
|
|
509
|
+
/** The size of the chart's plot box, as a fraction of the node's; unset, 1. */
|
|
510
|
+
readonly chartSize: number;
|
|
511
|
+
/** How much of the category side is left empty at each end, as a fraction of it; unset, 0. */
|
|
512
|
+
readonly chartMargin: number;
|
|
513
|
+
/** How much of the category side is left between the categories in all, as a fraction of it; unset, 0. */
|
|
514
|
+
readonly chartGap: number;
|
|
515
|
+
/** How wide the chart draws a line and a whisker (a length). */
|
|
516
|
+
readonly chartLineWidth: number;
|
|
517
|
+
/** The color of a bar's and a box's outline. */
|
|
518
|
+
readonly chartBorderColor: StyleColor;
|
|
519
|
+
/** How wide a bar's and a box's outline is (a length); unset, none. */
|
|
520
|
+
readonly chartBorderWidth: number;
|
|
521
|
+
/**
|
|
522
|
+
* How far a group drawn round its members (a node other nodes name as their parent, with no box of its own) reaches
|
|
523
|
+
* past their box on every side (a length; Cytoscape.js `padding` on a compound parent). Unset, the reader's own.
|
|
524
|
+
*/
|
|
525
|
+
readonly groupPadding: number;
|
|
526
|
+
/**
|
|
527
|
+
* That padding as a fraction of the members' box instead, measured as `groupPaddingOf` says (Cytoscape.js
|
|
528
|
+
* `padding: 20%`); it wins over `groupPadding`.
|
|
529
|
+
*/
|
|
530
|
+
readonly groupPaddingRatio: number;
|
|
531
|
+
/**
|
|
532
|
+
* What `groupPaddingRatio` is a fraction of: the members' box's `width`, `height`, `average` of the two, `min` or
|
|
533
|
+
* `max` (Cytoscape.js `padding-relative-to`); unset, `width`.
|
|
534
|
+
*/
|
|
535
|
+
readonly groupPaddingOf: string;
|
|
536
|
+
/** The narrowest the members' box is drawn, before the padding (a length; Cytoscape.js `min-width`). */
|
|
537
|
+
readonly groupMinWidth: number;
|
|
538
|
+
/** The shortest the members' box is drawn, before the padding (a length; Cytoscape.js `min-height`). */
|
|
539
|
+
readonly groupMinHeight: number;
|
|
540
|
+
/**
|
|
541
|
+
* The share, 0..1, of the width `groupMinWidth` adds that goes on the left (Cytoscape.js `min-width-bias-left`
|
|
542
|
+
* against `min-width-bias-right`); unset, half.
|
|
543
|
+
*/
|
|
544
|
+
readonly groupMinWidthBiasLeft: number;
|
|
545
|
+
/**
|
|
546
|
+
* The share, 0..1, of the height `groupMinHeight` adds that goes on top, as the reader sees it (Cytoscape.js
|
|
547
|
+
* `min-height-bias-top` against `min-height-bias-bottom`); unset, half.
|
|
548
|
+
*/
|
|
549
|
+
readonly groupMinHeightBiasTop: number;
|
|
550
|
+
/** Whether the members' labels count in the members' box (Cytoscape.js `compound-sizing-wrt-labels`). */
|
|
551
|
+
readonly groupIncludeLabels: boolean;
|
|
146
552
|
/** Whether the node is drawn at all. */
|
|
147
553
|
readonly visible: boolean;
|
|
148
554
|
}
|
|
@@ -162,41 +568,320 @@ export interface EdgeStyleValues {
|
|
|
162
568
|
readonly labelColor: StyleColor;
|
|
163
569
|
/** The opacity of the whole edge, 0..1. */
|
|
164
570
|
readonly opacity: number;
|
|
571
|
+
/**
|
|
572
|
+
* How much wider than the line a band drawn under it is (a length, half of it each side; Cytoscape.js
|
|
573
|
+
* `line-outline-width`, vis-network `background.size` less the line's width); 0 or absent draws none.
|
|
574
|
+
*/
|
|
575
|
+
readonly outlineWidth: number;
|
|
576
|
+
/** The color of that band. */
|
|
577
|
+
readonly outlineColor: StyleColor;
|
|
578
|
+
/** The opacity of that band, 0..1. */
|
|
579
|
+
readonly outlineOpacity: number;
|
|
580
|
+
/** The pattern that band is drawn in (vis-network `background.dashes`); unset, solid. */
|
|
581
|
+
readonly outlineStyle: StyleLineStyle;
|
|
582
|
+
/**
|
|
583
|
+
* The color of a band drawn beneath the line along its whole length, `underlayPadding` either side of the line's
|
|
584
|
+
* middle whatever its width (Cytoscape.js `underlay-*`); drawn only with an `underlayOpacity` above 0.
|
|
585
|
+
*/
|
|
586
|
+
readonly underlayColor: StyleColor;
|
|
587
|
+
/** The opacity of that band, 0..1; 0 draws none. */
|
|
588
|
+
readonly underlayOpacity: number;
|
|
589
|
+
/** How far either side of the line's middle the band reaches (a length). */
|
|
590
|
+
readonly underlayPadding: number;
|
|
591
|
+
/** The color of the same band drawn over the line (Cytoscape.js `overlay-*`). */
|
|
592
|
+
readonly overlayColor: StyleColor;
|
|
593
|
+
/** The opacity of the band over the line, 0..1; 0 draws none. */
|
|
594
|
+
readonly overlayOpacity: number;
|
|
595
|
+
/** How far either side of the line's middle the band over it reaches (a length). */
|
|
596
|
+
readonly overlayPadding: number;
|
|
597
|
+
/**
|
|
598
|
+
* The colors a line painted in a gradient runs through, `#rrggbb` separated by spaces (Cytoscape.js
|
|
599
|
+
* `line-gradient-stop-colors`); see `gradientKind`.
|
|
600
|
+
*/
|
|
601
|
+
readonly gradientColors: string;
|
|
602
|
+
/** Where each gradient color sits, fractions from 0 to 1 separated by spaces; absent, evenly spaced. */
|
|
603
|
+
readonly gradientStops: string;
|
|
604
|
+
/**
|
|
605
|
+
* How the line's gradient runs: `linear` from the source end to the target end, `radial` out from the line's
|
|
606
|
+
* middle, or `none` for a line in its `color` (Cytoscape.js `line-fill`).
|
|
607
|
+
*/
|
|
608
|
+
readonly gradientKind: string;
|
|
165
609
|
/** The line width. */
|
|
166
610
|
readonly width: number;
|
|
611
|
+
/**
|
|
612
|
+
* The fewest screen pixels wide the line is drawn, whatever its `width` comes to on screen (0 included): a screen
|
|
613
|
+
* size, not a length, so it is never scaled with the file's lengths (sigma.js's `minEdgeThickness`). Unset, the
|
|
614
|
+
* line is drawn at its width alone.
|
|
615
|
+
*/
|
|
616
|
+
readonly minScreenWidth: number;
|
|
167
617
|
/** The label's font size. */
|
|
168
618
|
readonly labelSize: number;
|
|
169
|
-
/** The arrow size as a factor: 1 is the writing tool's normal size. */
|
|
619
|
+
/** The arrow size as a factor: 1 is the writing tool's normal size. With `sourceArrowSize`, the target's alone. */
|
|
170
620
|
readonly arrowSize: number;
|
|
621
|
+
/** The source end's arrow size, where the file sizes it apart from the target's: a factor as `arrowSize` is. */
|
|
622
|
+
readonly sourceArrowSize: number;
|
|
623
|
+
/**
|
|
624
|
+
* How long the source arrowhead is along its line, as a fraction of its shape's normal length in the writing
|
|
625
|
+
* tool: Cytoscape's DELTA_SHORT_1 is a `triangle` half as long as its DELTA (0.5).
|
|
626
|
+
*/
|
|
627
|
+
readonly sourceArrowLength: number;
|
|
628
|
+
/** How long the target arrowhead is, as `sourceArrowLength` says. */
|
|
629
|
+
readonly targetArrowLength: number;
|
|
630
|
+
/**
|
|
631
|
+
* How wide the source arrowhead is across its line, as a fraction of its shape's normal width in the writing
|
|
632
|
+
* tool: Cytoscape's ARROW_SHORT is a `vee` 0.8 as wide as its ARROW.
|
|
633
|
+
*/
|
|
634
|
+
readonly sourceArrowWidth: number;
|
|
635
|
+
/** How wide the target arrowhead is, as `sourceArrowWidth` says. */
|
|
636
|
+
readonly targetArrowWidth: number;
|
|
637
|
+
/**
|
|
638
|
+
* How far from its node the source arrowhead is drawn, the line stopping there too, as a multiple of the
|
|
639
|
+
* arrowhead's own length along its line: Cytoscape desktop draws its T bar 4 of its lengths off the node. Unset or
|
|
640
|
+
* 0, the arrowhead touches the node.
|
|
641
|
+
*/
|
|
642
|
+
readonly sourceArrowGap: number;
|
|
643
|
+
/** How far from its node the target arrowhead is drawn, as `sourceArrowGap` says. */
|
|
644
|
+
readonly targetArrowGap: number;
|
|
645
|
+
/**
|
|
646
|
+
* The side of its line the source arrowhead is drawn on alone, cut along the line: `left` or `right` looking along
|
|
647
|
+
* the line toward the arrowhead's tip (Graphviz's `l` and `r` arrow modifiers: `lcrow`, `rdiamond`). Unset, the
|
|
648
|
+
* whole arrowhead.
|
|
649
|
+
*/
|
|
650
|
+
readonly sourceArrowSide: StyleArrowSide;
|
|
651
|
+
/** The side of its line the target arrowhead is drawn on alone, as `sourceArrowSide` says. */
|
|
652
|
+
readonly targetArrowSide: StyleArrowSide;
|
|
653
|
+
/**
|
|
654
|
+
* Where along the line each arrowhead is drawn, as a fraction of the line measured from the arrow's own end: 0 (the
|
|
655
|
+
* default) at the end, 0.5 at the middle, at most 1.
|
|
656
|
+
*/
|
|
657
|
+
readonly arrowPosition: number;
|
|
171
658
|
/** The line style. */
|
|
172
659
|
readonly lineStyle: StyleLineStyle;
|
|
660
|
+
/**
|
|
661
|
+
* How far a zigzag or sine-wave line swings to either side of its path (a length; Cytoscape desktop's strokes
|
|
662
|
+
* swing 10 px). With it, `width` is the thickness of the waving line.
|
|
663
|
+
*/
|
|
664
|
+
readonly waveAmplitude: number;
|
|
665
|
+
/** How far along its path a zigzag or sine-wave line runs before it repeats (a length; Cytoscape's: 20 px). */
|
|
666
|
+
readonly wavePeriod: number;
|
|
173
667
|
/** The arrow at the source end. */
|
|
174
668
|
readonly sourceArrow: StyleArrowShape;
|
|
175
669
|
/** The arrow at the target end. */
|
|
176
670
|
readonly targetArrow: StyleArrowShape;
|
|
671
|
+
/**
|
|
672
|
+
* An arrow drawn at the middle of the line pointing toward the target, besides any at the ends (Cytoscape.js
|
|
673
|
+
* `mid-target-arrow-shape`, vis-network `arrows.middle`), sized as the target's arrow is.
|
|
674
|
+
*/
|
|
675
|
+
readonly midTargetArrow: StyleArrowShape;
|
|
676
|
+
/** An arrow drawn at the middle of the line pointing toward the source (Cytoscape.js `mid-source-arrow-shape`). */
|
|
677
|
+
readonly midSourceArrow: StyleArrowShape;
|
|
678
|
+
/** The color of the arrow at the middle pointing toward the target. */
|
|
679
|
+
readonly midTargetArrowColor: StyleColor;
|
|
680
|
+
/** The color of the arrow at the middle pointing toward the source. */
|
|
681
|
+
readonly midSourceArrowColor: StyleColor;
|
|
682
|
+
/**
|
|
683
|
+
* The picture an `other:image` target arrow draws, a URL or a data URL (vis-network `arrows.to.src` of type
|
|
684
|
+
* `image`), standing on its line with its top edge across the arrow's point.
|
|
685
|
+
*/
|
|
686
|
+
readonly targetArrowImage: string;
|
|
687
|
+
/** The picture an `other:image` source arrow draws, as `targetArrowImage` says. */
|
|
688
|
+
readonly sourceArrowImage: string;
|
|
689
|
+
/** The picture an `other:image` middle arrow pointing toward the target draws, as `targetArrowImage` says. */
|
|
690
|
+
readonly midTargetArrowImage: string;
|
|
691
|
+
/** How wide across its line an image target arrow is drawn (vis-network `imageWidth`); absent, its picture's own. */
|
|
692
|
+
readonly targetArrowImageWidth: number;
|
|
693
|
+
/** How long along its line an image target arrow is drawn (vis-network `imageHeight`); absent, its picture's own. */
|
|
694
|
+
readonly targetArrowImageHeight: number;
|
|
695
|
+
/** How wide an image source arrow is drawn, as `targetArrowImageWidth` says. */
|
|
696
|
+
readonly sourceArrowImageWidth: number;
|
|
697
|
+
/** How long an image source arrow is drawn, as `targetArrowImageHeight` says. */
|
|
698
|
+
readonly sourceArrowImageHeight: number;
|
|
699
|
+
/** How wide an image middle arrow is drawn, as `targetArrowImageWidth` says. */
|
|
700
|
+
readonly midTargetArrowImageWidth: number;
|
|
701
|
+
/** How long an image middle arrow is drawn, as `targetArrowImageHeight` says. */
|
|
702
|
+
readonly midTargetArrowImageHeight: number;
|
|
177
703
|
/** Whether the edge is drawn curved. */
|
|
178
704
|
readonly curved: boolean;
|
|
179
705
|
/**
|
|
180
706
|
* The points the edge's route passes through between its two nodes, each as `along,across` relative to the line
|
|
181
707
|
* from the source node's center to the target's (`along` the fraction of the way along it, `across` the distance
|
|
182
708
|
* to its left, y up, as a fraction of its length), separated by spaces: `"0,-0.5 1,-0.5"`. Drawn as straight
|
|
183
|
-
* segments through them, with rounded corners when `curved`.
|
|
709
|
+
* segments through them, with rounded corners when `curved`. A self-loop has no line between two centers, so its
|
|
710
|
+
* points are written as `sourcePort` is, relative to its node's center and size.
|
|
184
711
|
*/
|
|
185
712
|
readonly bends: string;
|
|
713
|
+
/**
|
|
714
|
+
* How far apart, at their middle, neighboring curved edges between the same two nodes are drawn (a length).
|
|
715
|
+
*/
|
|
716
|
+
readonly fanSpacing: number;
|
|
717
|
+
/**
|
|
718
|
+
* Whether a curved edge is spread apart from the other curved edges between the same two nodes (true), or drawn
|
|
719
|
+
* as its own curve, bowing to the left of its direction whatever its siblings are (false, as Gephi draws them).
|
|
720
|
+
*/
|
|
721
|
+
readonly fanned: boolean;
|
|
722
|
+
/**
|
|
723
|
+
* How a curved edge is drawn through its bends: `"corners"`, straight through each bend with its corner rounded,
|
|
724
|
+
* or `"midpoints"`, one smooth curve using the bends as control points, from the middle of each segment to the
|
|
725
|
+
* next and leaving each end along its first and last segments (Cytoscape desktop), or `"bezier"`, one Bezier curve
|
|
726
|
+
* whose control points are the bends (one: quadratic, two: cubic; vis-network's smooth edges), or `"arc"`, the arc
|
|
727
|
+
* of the circle through both ends and the one bend, which lies on it (yEd's arc edge).
|
|
728
|
+
*/
|
|
729
|
+
readonly bendCurve: string;
|
|
730
|
+
/**
|
|
731
|
+
* A curved edge drawn as an arc of the circle through both node centers, whose radius is this many times the
|
|
732
|
+
* distance between them (Gephi: the distance over its arc curveness 1.2).
|
|
733
|
+
*/
|
|
734
|
+
readonly arcRadius: number;
|
|
735
|
+
/**
|
|
736
|
+
* A curved edge drawn as one quadratic curve through a support point a force simulation places among the nodes,
|
|
737
|
+
* wherever they are: `"barnesHut"` or `"forceAtlas2"`, the force law it settles under (vis-network's dynamic smooth
|
|
738
|
+
* edges, under its solvers of those names). Tied to the edge's two nodes by two springs, pushed away by every node
|
|
739
|
+
* and every other support point, pulled toward the middle of the nodes; the numbers below are in the file's units.
|
|
740
|
+
*/
|
|
741
|
+
readonly supportModel: string;
|
|
742
|
+
/** The rest length of a support point's two springs together (a length). */
|
|
743
|
+
readonly supportSpringLength: number;
|
|
744
|
+
/** How hard a support point's springs pull per unit they are stretched. */
|
|
745
|
+
readonly supportSpringConstant: number;
|
|
746
|
+
/**
|
|
747
|
+
* How hard every node and every other support point push a support point away: over the distance squared under
|
|
748
|
+
* barnesHut, over the distance under forceAtlas2.
|
|
749
|
+
*/
|
|
750
|
+
readonly supportRepulsion: number;
|
|
751
|
+
/** How hard a support point is pulled toward the middle of the nodes: a constant pull under barnesHut, in proportion to the distance under forceAtlas2. */
|
|
752
|
+
readonly supportCentralGravity: number;
|
|
753
|
+
/**
|
|
754
|
+
* How far from each of its nodes' outlines the edge's line (and its arrowhead) stops, leaving that much empty
|
|
755
|
+
* (a length; Gephi's `edge.radius`).
|
|
756
|
+
*/
|
|
757
|
+
readonly nodeGap: number;
|
|
758
|
+
/** How far from its source node's outline the edge's line stops, over `nodeGap` at that end (a length). */
|
|
759
|
+
readonly sourceNodeGap: number;
|
|
760
|
+
/** How far from its target node's outline the line (and its arrowhead) stops; see `sourceNodeGap`. */
|
|
761
|
+
readonly targetNodeGap: number;
|
|
762
|
+
/**
|
|
763
|
+
* Where the edge leaves its source node, when not at its center: `x,y` relative to the node's center as fractions
|
|
764
|
+
* of its half width and half height, y up (`"1,0"` is the middle of its right side, `"0,1"` of its top), so the
|
|
765
|
+
* point stays on the same spot of the node at any size. The line runs from that point instead of from where the
|
|
766
|
+
* line from the center crosses the node's outline.
|
|
767
|
+
*/
|
|
768
|
+
readonly sourcePort: string;
|
|
769
|
+
/** Where the edge meets its target node, when not at its center: written as `sourcePort` is. */
|
|
770
|
+
readonly targetPort: string;
|
|
186
771
|
/** The label text. */
|
|
187
772
|
readonly label: string;
|
|
773
|
+
/**
|
|
774
|
+
* The label drawn in runs of styles of their own (a program's rich text: vis-network's multi-font labels), as a
|
|
775
|
+
* JSON array of runs left to right, each `{ "text": string, "weight"?: "bold", "italic"?: true, "font"?: string,
|
|
776
|
+
* "size"?: number, "color"?: "#rrggbb" }`; a run's `text` may hold line breaks. A run gives only what differs
|
|
777
|
+
* from the label's own font (`labelFont`, `labelSize`, `labelColor`, `labelWeight`,
|
|
778
|
+
* `labelItalic`). Its words, run after run, are `label`. Unset, the label is drawn in its own font throughout.
|
|
779
|
+
*/
|
|
780
|
+
readonly labelRuns: string;
|
|
188
781
|
/** The tooltip text. */
|
|
189
782
|
readonly tooltip: string;
|
|
190
783
|
/** The label's font family. */
|
|
191
784
|
readonly labelFont: string;
|
|
192
785
|
/** The label's font weight. */
|
|
193
786
|
readonly labelWeight: StyleLabelWeight;
|
|
787
|
+
/** How the label's lines line up with one another; see the node's. */
|
|
788
|
+
readonly labelTextAlign: StyleLabelTextAlign;
|
|
194
789
|
/** Whether the label is italic. */
|
|
195
790
|
readonly labelItalic: boolean;
|
|
791
|
+
/** The width the label's lines wrap at (a length); see the node's. */
|
|
792
|
+
readonly labelWrapWidth: number;
|
|
793
|
+
/** Whether a line wider than `labelWrapWidth` is cut with an ellipsis; see the node's. */
|
|
794
|
+
readonly labelWrapEllipsis: boolean;
|
|
795
|
+
/** Whether a line may break between any two letters; see the node's. */
|
|
796
|
+
readonly labelWrapAnywhere: boolean;
|
|
797
|
+
/** How many blanks a blank between two words counts as against `labelWrapWidth`; see the node's. */
|
|
798
|
+
readonly labelWrapSpaceCount: number;
|
|
799
|
+
/**
|
|
800
|
+
* Where runs of different sizes in one line of `labelRuns` meet: `baseline` (their alphabetic baselines, the
|
|
801
|
+
* default), `hanging` (their hanging baselines, so their tops line up) or `middle` (their middles).
|
|
802
|
+
*/
|
|
803
|
+
readonly labelRunAlign: string;
|
|
804
|
+
/** Where the label sits against the line's middle: `center` on the line, `top` above it. */
|
|
805
|
+
readonly labelPosition: StyleLabelPosition;
|
|
806
|
+
/** How far right of where `labelPosition` puts it the label is drawn (a length). */
|
|
807
|
+
readonly labelOffsetX: number;
|
|
808
|
+
/** How far down from where `labelPosition` puts it the label is drawn (a length). */
|
|
809
|
+
readonly labelOffsetY: number;
|
|
810
|
+
/** How far right the label is drawn again, as a fraction of its own width; see the node's. */
|
|
811
|
+
readonly labelShiftX: number;
|
|
812
|
+
/** How far down the label is drawn again, as a fraction of its own height; see the node's. */
|
|
813
|
+
readonly labelShiftY: number;
|
|
814
|
+
/** The opacity of the label's words, 0..1. */
|
|
815
|
+
readonly labelOpacity: number;
|
|
816
|
+
/** How far the label is turned, in degrees clockwise on screen, 0 up to 360; see the node's. */
|
|
817
|
+
readonly labelRotation: number;
|
|
818
|
+
/** The color of a box drawn behind the label's text; see the node's. */
|
|
819
|
+
readonly labelBackground: StyleColor;
|
|
820
|
+
/** The opacity of that box, 0..1. */
|
|
821
|
+
readonly labelBackgroundOpacity: number;
|
|
822
|
+
/** The color of an outline drawn round each letter of the label; see the node's. */
|
|
823
|
+
readonly labelOutlineColor: StyleColor;
|
|
824
|
+
/** How thick that outline is, in the units of `labelSize`; 0 draws none. */
|
|
825
|
+
readonly labelOutlineWidth: number;
|
|
826
|
+
/** The color of a line drawn round the box behind the label's words (yEd `lineColor`). */
|
|
827
|
+
readonly labelBorderColor: StyleColor;
|
|
828
|
+
/** How thick that line is, in the units of `labelSize`; 0 draws none. */
|
|
829
|
+
readonly labelBorderWidth: number;
|
|
830
|
+
/** How opaque the outline round the label's letters is, from 0 (none) to 1, over its color. Unset, 1. */
|
|
831
|
+
readonly labelOutlineOpacity: number;
|
|
832
|
+
/** How opaque the line round the box behind the label's words is, from 0 (none) to 1, over its color. Unset, 1. */
|
|
833
|
+
readonly labelBorderOpacity: number;
|
|
834
|
+
/**
|
|
835
|
+
* How far the box behind the label's words (its background and border) reaches past the words' line box on every
|
|
836
|
+
* side, in the units of `labelSize`; 0 puts the border against the words. Unset, the drawing program's default.
|
|
837
|
+
*/
|
|
838
|
+
readonly labelPadding: number;
|
|
839
|
+
/** How far the corners of the box behind the label's words are rounded, in the units of `labelSize`. Unset, square. */
|
|
840
|
+
readonly labelCornerRadius: number;
|
|
841
|
+
/** How tall one line of the label is, as a multiple of its font's ascent plus descent. Unset, 1.2. */
|
|
842
|
+
readonly labelLineHeight: number;
|
|
196
843
|
/** The label text at the source end. */
|
|
197
844
|
readonly sourceLabel: string;
|
|
198
845
|
/** The label text at the target end. */
|
|
199
846
|
readonly targetLabel: string;
|
|
847
|
+
/**
|
|
848
|
+
* Where the source end's label sits: its middle on the line, this far along it from where the line leaves the
|
|
849
|
+
* source node (a length; Cytoscape.js `source-text-offset`). Absent, beside the end as the reader places it.
|
|
850
|
+
*/
|
|
851
|
+
readonly sourceLabelOffset: number;
|
|
852
|
+
/** Where the target end's label sits, as `sourceLabelOffset` says, from where the line meets the target node. */
|
|
853
|
+
readonly targetLabelOffset: number;
|
|
854
|
+
/**
|
|
855
|
+
* How far the source end's label is moved right of where it sits, on the screen (a length; Cytoscape.js
|
|
856
|
+
* `source-text-margin-x`).
|
|
857
|
+
*/
|
|
858
|
+
readonly sourceLabelOffsetX: number;
|
|
859
|
+
/** How far the source end's label is moved down, on the screen (a length; `source-text-margin-y`). */
|
|
860
|
+
readonly sourceLabelOffsetY: number;
|
|
861
|
+
/** How far the target end's label is moved right, on the screen (a length; `target-text-margin-x`). */
|
|
862
|
+
readonly targetLabelOffsetX: number;
|
|
863
|
+
/** How far the target end's label is moved down, on the screen (a length; `target-text-margin-y`). */
|
|
864
|
+
readonly targetLabelOffsetY: number;
|
|
865
|
+
/** How far the source end's label is turned, in degrees clockwise about its middle; unset, level. */
|
|
866
|
+
readonly sourceLabelRotation: number;
|
|
867
|
+
/** How far the target end's label is turned, in degrees clockwise about its middle; unset, level. */
|
|
868
|
+
readonly targetLabelRotation: number;
|
|
869
|
+
/** The source end's label's font size, in the units of `labelSize`; unset, the label's (`labelSize`). */
|
|
870
|
+
readonly sourceLabelSize: number;
|
|
871
|
+
/** The target end's label's font size; see `sourceLabelSize`. */
|
|
872
|
+
readonly targetLabelSize: number;
|
|
873
|
+
/** The color of the source end's label's words; unset, the label's (`labelColor`). */
|
|
874
|
+
readonly sourceLabelColor: StyleColor;
|
|
875
|
+
/** The color of the target end's label's words; see `sourceLabelColor`. */
|
|
876
|
+
readonly targetLabelColor: StyleColor;
|
|
877
|
+
/** The source end's label's font family, as the file names it; unset, the label's (`labelFont`). */
|
|
878
|
+
readonly sourceLabelFont: string;
|
|
879
|
+
/** The target end's label's font family; see `sourceLabelFont`. */
|
|
880
|
+
readonly targetLabelFont: string;
|
|
881
|
+
/** The label is not drawn while its letters are drawn smaller than this many screen pixels; see the node's. */
|
|
882
|
+
readonly labelMinScreenSize: number;
|
|
883
|
+
/** Whether the label is drawn over every node and edge; see the node's. */
|
|
884
|
+
readonly labelOnTop: boolean;
|
|
200
885
|
/** Whether the edge is drawn at all. */
|
|
201
886
|
readonly visible: boolean;
|
|
202
887
|
}
|
|
@@ -471,6 +1156,14 @@ export type StyleRuleReason =
|
|
|
471
1156
|
| "NODE_SIZE_LABEL"
|
|
472
1157
|
/** Edges with no width of their own are as thick as their weight, as the writing tool draws them. */
|
|
473
1158
|
| "EDGE_WEIGHT"
|
|
1159
|
+
/** Edges with no color of their own take the mix of their two end nodes' colors, as the writing tool draws them. */
|
|
1160
|
+
| "END_NODE_COLORS"
|
|
1161
|
+
/** Nodes with no outline color of their own are outlined in a shade of their fill, as the writing tool draws them. */
|
|
1162
|
+
| "NODE_FILL_SHADE"
|
|
1163
|
+
/** The values are in proportion to each node's size, as the writing tool draws them (an outline, a label). */
|
|
1164
|
+
| "NODE_SIZE"
|
|
1165
|
+
/** The values follow the distance between the nodes the file places, as the writing tool draws them. */
|
|
1166
|
+
| "NODE_POSITIONS"
|
|
474
1167
|
/** Nodes with no label of their own show their name, as the writing tool draws them (Graphviz's `\N`). */
|
|
475
1168
|
| "NODE_NAME"
|
|
476
1169
|
/** The file computes the value with a function; the drawn values are copied. */
|