@knowvah/dot-engine 2.8.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/graph-init.d.ts.map +1 -1
- package/dist/common/poly-gencode.d.ts.map +1 -1
- package/dist/common/poly-init.d.ts +3 -2
- package/dist/common/poly-init.d.ts.map +1 -1
- package/dist/common/safefile.d.ts +23 -0
- package/dist/common/safefile.d.ts.map +1 -0
- package/dist/common/shapes.d.ts +6 -6
- package/dist/common/shapes.d.ts.map +1 -1
- package/dist/gvc/device.d.ts.map +1 -1
- package/dist/gvc/image-type.d.ts +41 -0
- package/dist/gvc/image-type.d.ts.map +1 -0
- package/dist/gvc/render-usershape.d.ts +8 -0
- package/dist/gvc/render-usershape.d.ts.map +1 -1
- package/dist/gvc/usershape.d.ts +23 -1
- package/dist/gvc/usershape.d.ts.map +1 -1
- package/dist/index.js +8328 -6979
- package/dist/index.js.map +4 -4
- package/dist/layout/neato/__fixtures__/quad-prog-vpsc.d.ts +118 -0
- package/dist/layout/neato/__fixtures__/quad-prog-vpsc.d.ts.map +1 -0
- package/dist/layout/neato/__fixtures__/stress-models.d.ts +39 -0
- package/dist/layout/neato/__fixtures__/stress-models.d.ts.map +1 -0
- package/dist/layout/neato/circuit.d.ts +10 -0
- package/dist/layout/neato/circuit.d.ts.map +1 -0
- package/dist/layout/neato/init.d.ts +3 -2
- package/dist/layout/neato/init.d.ts.map +1 -1
- package/dist/layout/neato/ipsep-opts.d.ts +19 -0
- package/dist/layout/neato/ipsep-opts.d.ts.map +1 -0
- package/dist/layout/neato/lu.d.ts +35 -0
- package/dist/layout/neato/lu.d.ts.map +1 -0
- package/dist/layout/neato/matinv.d.ts +8 -0
- package/dist/layout/neato/matinv.d.ts.map +1 -0
- package/dist/layout/neato/quad-prog-vpsc-overlap.d.ts +35 -0
- package/dist/layout/neato/quad-prog-vpsc-overlap.d.ts.map +1 -0
- package/dist/layout/neato/quad-prog-vpsc.d.ts +110 -0
- package/dist/layout/neato/quad-prog-vpsc.d.ts.map +1 -0
- package/dist/layout/neato/start.d.ts +5 -4
- package/dist/layout/neato/start.d.ts.map +1 -1
- package/dist/layout/neato/stress-cola.d.ts +65 -0
- package/dist/layout/neato/stress-cola.d.ts.map +1 -0
- package/dist/layout/neato/stress-kernel.d.ts +0 -2
- package/dist/layout/neato/stress-kernel.d.ts.map +1 -1
- package/dist/layout/neato/stress-models.d.ts +48 -0
- package/dist/layout/neato/stress-models.d.ts.map +1 -0
- package/dist/layout/neato/vpsc-adjust.d.ts +7 -8
- package/dist/layout/neato/vpsc-adjust.d.ts.map +1 -1
- package/dist/render/color-resolve.d.ts +14 -0
- package/dist/render/color-resolve.d.ts.map +1 -1
- package/dist/render/dot/edge-draw.d.ts.map +1 -1
- package/dist/render/svg-arrow-ops.d.ts +21 -4
- package/dist/render/svg-arrow-ops.d.ts.map +1 -1
- package/dist/render/svg-edge-arrows.d.ts +3 -3
- package/dist/render/svg-edge-arrows.d.ts.map +1 -1
- package/dist/render/svg-helpers.d.ts +1 -1
- package/dist/render/svg-helpers.d.ts.map +1 -1
- package/dist/render/svg.d.ts.map +1 -1
- package/dist/render.js +8318 -6969
- package/dist/render.js.map +4 -4
- package/package.json +1 -1
- package/src/common/graph-init.ts +4 -2
- package/src/common/poly-gencode.ts +2 -1
- package/src/common/poly-init.ts +21 -12
- package/src/common/safefile.ts +74 -0
- package/src/common/shapes.ts +43 -22
- package/src/gvc/__fixtures__/p7/colors/98-point.gv +1 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.json +54 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.svg +17 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.svg.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.xdot +13 -0
- package/src/gvc/__fixtures__/p7/colors/98-point.xdot.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.gv +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.json +150 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.svg +30 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.svg.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.xdot +22 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-color.xdot.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.gv +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.json +149 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.json.stderr +0 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.svg +30 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.xdot +21 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge-red-colon.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.gv +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.json +149 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.svg +30 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.svg.stderr +1 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.xdot +21 -0
- package/src/gvc/__fixtures__/p7/colors/99-edge.xdot.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/100-rotate.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/100-rotate.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/100-rotate.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.cmapx.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.dot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.json +68 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.json.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.plain.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.svg.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-bad.xdot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.cmapx.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.dot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.json +70 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.plain.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-gif.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.cmapx.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.dot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.json +70 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.plain.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-jpg.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-png.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-png.cmapx.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-png.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-png.dot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-png.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-png.json +70 -0
- package/src/gvc/__fixtures__/p7/images/101-png.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/101-png.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-png.plain.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-png.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/101-png.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-png.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-png.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.cmapx.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.dot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.json +70 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.json.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.plain.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-svg.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.cmapx +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.cmapx.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.dot +8 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.dot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.json +68 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.json.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.plain +3 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.plain.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.svg.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/101-svgbare.xdot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-abs.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-abs.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-abs.svg.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-abs.xdot +14 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-abs.xdot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-found.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-found.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-found.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-found.xdot +14 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-found.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-missing.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-missing.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-missing.svg.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-missing.xdot +14 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-missing.xdot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-shapefile.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-shapefile.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-shapefile.svg.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-shapefile.xdot +15 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-shapefile.xdot.stderr +2 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-two.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-two.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-two.svg.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-two.xdot +14 -0
- package/src/gvc/__fixtures__/p7/images/102-ip-two.xdot.stderr +0 -0
- package/src/gvc/__fixtures__/p7/images/97-custom.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/97-custom.svg +18 -0
- package/src/gvc/__fixtures__/p7/images/97-custom.svg.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/97-custom.xdot +13 -0
- package/src/gvc/__fixtures__/p7/images/97-custom.xdot.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/97-nosuch-image.gv +1 -0
- package/src/gvc/__fixtures__/p7/images/97-nosuch-image.svg +19 -0
- package/src/gvc/__fixtures__/p7/images/97-nosuch-image.svg.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/97-nosuch-image.xdot +14 -0
- package/src/gvc/__fixtures__/p7/images/97-nosuch-image.xdot.stderr +1 -0
- package/src/gvc/__fixtures__/p7/images/bad.png +1 -0
- package/src/gvc/__fixtures__/p7/images/d/r.png +0 -0
- package/src/gvc/__fixtures__/p7/images/d2/r.png +0 -0
- package/src/gvc/__fixtures__/p7/images/g.gif +0 -0
- package/src/gvc/__fixtures__/p7/images/graphs-val_val.gv +10 -0
- package/src/gvc/__fixtures__/p7/images/graphs-val_val.svg +25 -0
- package/src/gvc/__fixtures__/p7/images/graphs-val_val.svg.stderr +3 -0
- package/src/gvc/__fixtures__/p7/images/graphs-val_val.xdot +30 -0
- package/src/gvc/__fixtures__/p7/images/graphs-val_val.xdot.stderr +3 -0
- package/src/gvc/__fixtures__/p7/images/j.jpg +0 -0
- package/src/gvc/__fixtures__/p7/images/r.png +0 -0
- package/src/gvc/__fixtures__/p7/images/s.svg +2 -0
- package/src/gvc/__fixtures__/p7/images/sb.svg +1 -0
- package/src/gvc/__fixtures__/p7/images/t.png +0 -0
- package/src/gvc/__fixtures__/p7/regen.sh +23 -0
- package/src/gvc/device.ts +11 -4
- package/src/gvc/image-type.ts +122 -0
- package/src/gvc/render-usershape.ts +52 -1
- package/src/gvc/usershape.ts +40 -1
- package/src/layout/neato/__fixtures__/ipsep/big-dired.gv +243 -0
- package/src/layout/neato/__fixtures__/ipsep/big-dired.trace +55 -0
- package/src/layout/neato/__fixtures__/ipsep/big-dired.xdot +1832 -0
- package/src/layout/neato/__fixtures__/ipsep/big-dired.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/cluster.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/cluster.trace +95 -0
- package/src/layout/neato/__fixtures__/ipsep/cluster.xdot +58 -0
- package/src/layout/neato/__fixtures__/ipsep/cluster.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-levelsgap.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-levelsgap.trace +40 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-levelsgap.xdot +72 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-levelsgap.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-sep.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-sep.trace +43 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-sep.xdot +72 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier-sep.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier.trace +43 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier.xdot +71 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-hier.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-true.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-true.trace +51 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-true.xdot +71 -0
- package/src/layout/neato/__fixtures__/ipsep/dired-true.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-grid.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-grid.trace +41 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-grid.xdot +77 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-grid.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-k6.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-k6.trace +41 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-k6.xdot +68 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-k6.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand-len.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand-len.trace +42 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand-len.xdot +110 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand-len.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand.trace +49 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand.xdot +108 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-rand.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-tree.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-tree.trace +43 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-tree.xdot +83 -0
- package/src/layout/neato/__fixtures__/ipsep/ipsep-tree.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep-len.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep-len.trace +49 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep-len.xdot +48 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep-len.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep.trace +45 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep.xdot +47 -0
- package/src/layout/neato/__fixtures__/ipsep/kd-ipsep.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/len-dired.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/len-dired.trace +44 -0
- package/src/layout/neato/__fixtures__/ipsep/len-dired.xdot +66 -0
- package/src/layout/neato/__fixtures__/ipsep/len-dired.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/model-circuit.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/model-circuit.trace +46 -0
- package/src/layout/neato/__fixtures__/ipsep/model-circuit.xdot +83 -0
- package/src/layout/neato/__fixtures__/ipsep/model-circuit.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds-len.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds-len.trace +52 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds-len.xdot +72 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds-len.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds.trace +52 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds.xdot +83 -0
- package/src/layout/neato/__fixtures__/ipsep/model-mds.xdot.stderr +2 -0
- package/src/layout/neato/__fixtures__/ipsep/model-subset.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/model-subset.trace +49 -0
- package/src/layout/neato/__fixtures__/ipsep/model-subset.xdot +83 -0
- package/src/layout/neato/__fixtures__/ipsep/model-subset.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-ipsep.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-ipsep.trace +211 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-ipsep.xdot +60 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-ipsep.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-vpsc.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-vpsc.trace +50 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-vpsc.xdot +60 -0
- package/src/layout/neato/__fixtures__/ipsep/overlap-vpsc.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self-dired.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self-dired.trace +51 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self-dired.xdot +72 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self-dired.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self.gv +1 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self.trace +43 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self.xdot +84 -0
- package/src/layout/neato/__fixtures__/ipsep/start-self.xdot.stderr +0 -0
- package/src/layout/neato/__fixtures__/quad-prog-vpsc.ts +109 -0
- package/src/layout/neato/__fixtures__/stress-models.ts +64 -0
- package/src/layout/neato/circuit.ts +31 -0
- package/src/layout/neato/index.ts +2 -2
- package/src/layout/neato/init.ts +25 -34
- package/src/layout/neato/ipsep-opts.ts +158 -0
- package/src/layout/neato/lu.ts +189 -0
- package/src/layout/neato/matinv.ts +37 -0
- package/src/layout/neato/quad-prog-vpsc-overlap.ts +365 -0
- package/src/layout/neato/quad-prog-vpsc.ts +416 -0
- package/src/layout/neato/start.ts +9 -24
- package/src/layout/neato/stress-cola.ts +497 -0
- package/src/layout/neato/stress-kernel.ts +1 -17
- package/src/layout/neato/stress-models.ts +212 -0
- package/src/layout/neato/vpsc-adjust.ts +35 -66
- package/src/render/color-resolve.ts +25 -2
- package/src/render/dot/edge-draw.ts +7 -4
- package/src/render/svg-arrow-ops.ts +35 -19
- package/src/render/svg-edge-arrows.ts +7 -6
- package/src/render/svg-helpers.ts +19 -11
- package/src/render/svg.ts +15 -3
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// SPDX-License-Identifier: EPL-2.0
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Image type sniffing: the magic-byte table and `imagetype` of gvusershape.c,
|
|
5
|
+
* run over the bytes the caller's image resolver supplies (AD-5) instead of a
|
|
6
|
+
* `FILE *`.
|
|
7
|
+
*
|
|
8
|
+
* `ImageType` is an as-const object rather than C's enum / a `const enum`
|
|
9
|
+
* (TS6-forward: `const enum` does not survive declaration boundaries); its
|
|
10
|
+
* members and order are `imagetype_t`.
|
|
11
|
+
*
|
|
12
|
+
* @see lib/common/usershape.h:imagetype_t, lib/gvc/gvusershape.c:55-175
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/** @see lib/common/usershape.h:24-27 */
|
|
16
|
+
export const ImageType = {
|
|
17
|
+
FT_NULL: 0,
|
|
18
|
+
FT_BMP: 1,
|
|
19
|
+
FT_GIF: 2,
|
|
20
|
+
FT_PNG: 3,
|
|
21
|
+
FT_JPEG: 4,
|
|
22
|
+
FT_PDF: 5,
|
|
23
|
+
FT_PS: 6,
|
|
24
|
+
FT_EPS: 7,
|
|
25
|
+
FT_SVG: 8,
|
|
26
|
+
FT_XML: 9,
|
|
27
|
+
FT_RIFF: 10,
|
|
28
|
+
FT_WEBP: 11,
|
|
29
|
+
FT_ICO: 12,
|
|
30
|
+
FT_TIFF: 13,
|
|
31
|
+
} as const;
|
|
32
|
+
export type ImageType = (typeof ImageType)[keyof typeof ImageType];
|
|
33
|
+
|
|
34
|
+
/** @see lib/gvc/gvusershape.c:HDRLEN */
|
|
35
|
+
const HDRLEN = 20;
|
|
36
|
+
|
|
37
|
+
/** @see lib/gvc/gvusershape.c:knowntype_t */
|
|
38
|
+
interface KnownType {
|
|
39
|
+
readonly template: readonly number[];
|
|
40
|
+
readonly type: ImageType;
|
|
41
|
+
readonly stringtype: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const bytesOf = (s: string): number[] => Array.from(s, c => c.charCodeAt(0));
|
|
45
|
+
|
|
46
|
+
/** @see lib/gvc/gvusershape.c:XML_MAGIC */
|
|
47
|
+
const XML_MAGIC = bytesOf('<?xml');
|
|
48
|
+
/** @see lib/gvc/gvusershape.c:SVG_MAGIC */
|
|
49
|
+
const SVG_MAGIC = bytesOf('<svg');
|
|
50
|
+
/** @see lib/gvc/gvusershape.c:WEBP_MAGIC */
|
|
51
|
+
const WEBP_MAGIC = bytesOf('WEBP');
|
|
52
|
+
const GT = 0x3e; // '>'
|
|
53
|
+
|
|
54
|
+
/** @see lib/gvc/gvusershape.c:knowntypes (PNG_MAGIC .. ICO_MAGIC) */
|
|
55
|
+
const KNOWN_TYPES: readonly KnownType[] = [
|
|
56
|
+
{ template: [0x89, ...bytesOf('PNG'), 0x0d, 0x0a, 0x1a, 0x0a], type: ImageType.FT_PNG, stringtype: 'png' },
|
|
57
|
+
{ template: bytesOf('%!PS-Adobe-'), type: ImageType.FT_PS, stringtype: 'ps' },
|
|
58
|
+
{ template: bytesOf('BM'), type: ImageType.FT_BMP, stringtype: 'bmp' },
|
|
59
|
+
{ template: bytesOf('GIF8'), type: ImageType.FT_GIF, stringtype: 'gif' },
|
|
60
|
+
{ template: [0xff, 0xd8, 0xff], type: ImageType.FT_JPEG, stringtype: 'jpeg' },
|
|
61
|
+
{ template: bytesOf('%PDF-'), type: ImageType.FT_PDF, stringtype: 'pdf' },
|
|
62
|
+
{ template: [0xc5, 0xd0, 0xd3, 0xc6], type: ImageType.FT_EPS, stringtype: 'eps' },
|
|
63
|
+
{ template: XML_MAGIC, type: ImageType.FT_XML, stringtype: 'xml' },
|
|
64
|
+
{ template: bytesOf('RIFF'), type: ImageType.FT_RIFF, stringtype: 'riff' },
|
|
65
|
+
{ template: [0x00, 0x00, 0x01, 0x00], type: ImageType.FT_ICO, stringtype: 'ico' },
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
/** Result of `imagetype`: `us->type` and `us->stringtype`. */
|
|
69
|
+
export interface ImageTypeResult {
|
|
70
|
+
type: ImageType;
|
|
71
|
+
stringtype: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const matchesAt = (bytes: Uint8Array, at: number, template: readonly number[]): boolean =>
|
|
75
|
+
template.every((b, i) => bytes[at + i] === b);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The FT_XML tail of `imagetype`: skip to the end of the XML declaration when
|
|
79
|
+
* the header did not hold its `>`, then slide a 4-byte window looking for
|
|
80
|
+
* `<svg`. Exhausting the bytes leaves the type FT_XML. The window starts at
|
|
81
|
+
* the file position after the header (or after the `>` found by the scan), as
|
|
82
|
+
* C's `fread` does.
|
|
83
|
+
* @see lib/gvc/gvusershape.c:imagetype (the FT_XML branch)
|
|
84
|
+
*/
|
|
85
|
+
function scanXmlForSvg(bytes: Uint8Array): ImageTypeResult {
|
|
86
|
+
const xml: ImageTypeResult = { type: ImageType.FT_XML, stringtype: 'xml' };
|
|
87
|
+
let pos = HDRLEN;
|
|
88
|
+
if (!bytes.subarray(0, HDRLEN).includes(GT)) {
|
|
89
|
+
for (;;) {
|
|
90
|
+
if (pos >= bytes.length) return xml;
|
|
91
|
+
if (bytes[pos++] === GT) break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (bytes.length - pos < SVG_MAGIC.length) return xml;
|
|
95
|
+
let tag = pos;
|
|
96
|
+
pos += SVG_MAGIC.length;
|
|
97
|
+
for (;;) {
|
|
98
|
+
if (matchesAt(bytes, tag, SVG_MAGIC)) return { type: ImageType.FT_SVG, stringtype: 'svg' };
|
|
99
|
+
if (pos >= bytes.length) return xml;
|
|
100
|
+
tag++;
|
|
101
|
+
pos++;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Sniff the image type from its leading bytes. Fewer than HDRLEN bytes, or no
|
|
107
|
+
* matching template, is FT_NULL with stringtype "(lib)".
|
|
108
|
+
* @see lib/gvc/gvusershape.c:imagetype
|
|
109
|
+
*/
|
|
110
|
+
export function imagetype(bytes: Uint8Array): ImageTypeResult {
|
|
111
|
+
if (bytes.length >= HDRLEN) {
|
|
112
|
+
for (const known of KNOWN_TYPES) {
|
|
113
|
+
if (!matchesAt(bytes, 0, known.template)) continue;
|
|
114
|
+
if (known.type === ImageType.FT_XML) return scanXmlForSvg(bytes);
|
|
115
|
+
if (known.type === ImageType.FT_RIFF && matchesAt(bytes, 8, WEBP_MAGIC)) {
|
|
116
|
+
return { type: ImageType.FT_WEBP, stringtype: 'webp' };
|
|
117
|
+
}
|
|
118
|
+
return { type: known.type, stringtype: known.stringtype };
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return { type: ImageType.FT_NULL, stringtype: '(lib)' };
|
|
122
|
+
}
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
import type { Box, Point } from '../model/geom.js';
|
|
12
12
|
import type { RenderJob } from './job.js';
|
|
13
|
-
import { imageIsSupplied, usershapeSizePts, type ImageSizer } from './usershape.js';
|
|
13
|
+
import { imageIsSupplied, usershapeSizePts, usershapeType, type ImageSizer } from './usershape.js';
|
|
14
|
+
import { ImageType } from './image-type.js';
|
|
15
|
+
import { agwarningf } from '../common/agerr.js';
|
|
14
16
|
import { mapbool } from '../layout/dot/rank.js';
|
|
15
17
|
|
|
16
18
|
/** @see lib/gvc/gvcjob.h:imagescale_t */
|
|
@@ -160,9 +162,51 @@ function polygonBox(a: readonly Point[]): Box {
|
|
|
160
162
|
declare module './job.js' {
|
|
161
163
|
interface RenderJob {
|
|
162
164
|
imageSizer?: ImageSizer | undefined;
|
|
165
|
+
/** `job->loadimage.engine` is set (a `gvloadimage_select` succeeded). */
|
|
166
|
+
loadimageEngineSet?: boolean;
|
|
163
167
|
}
|
|
164
168
|
}
|
|
165
169
|
|
|
170
|
+
/**
|
|
171
|
+
* The `type` strings `gvloadimage_core.c:gvloadimage_core_types` serves
|
|
172
|
+
* (`<stringtype>:<target>`); the plugin set lacks e.g. `png:json`.
|
|
173
|
+
* @see plugin/core/gvloadimage_core.c:280-335
|
|
174
|
+
*/
|
|
175
|
+
export const CORE_LOADIMAGE_TYPES: ReadonlySet<string> = new Set([
|
|
176
|
+
'png:svg', 'gif:svg', 'jpeg:svg', 'jpe:svg', 'jpg:svg',
|
|
177
|
+
'png:fig', 'gif:fig', 'jpeg:fig', 'jpe:fig', 'jpg:fig',
|
|
178
|
+
'png:vrml', 'gif:vrml', 'jpeg:vrml', 'jpe:vrml', 'jpg:vrml',
|
|
179
|
+
'eps:ps', 'ps:ps', '(lib):ps',
|
|
180
|
+
'png:map', 'gif:map', 'jpeg:map', 'jpe:map', 'jpg:map', 'ps:map', 'eps:map', 'svg:map',
|
|
181
|
+
'png:dot', 'gif:dot', 'jpeg:dot', 'jpe:dot', 'jpg:dot', 'ps:dot', 'eps:dot', 'svg:dot',
|
|
182
|
+
'png:xdot', 'gif:xdot', 'jpeg:xdot', 'jpe:xdot', 'jpg:xdot', 'ps:xdot', 'eps:xdot', 'svg:xdot',
|
|
183
|
+
'svg:svg',
|
|
184
|
+
'gif:tk',
|
|
185
|
+
]);
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* `job->render.type` for a port renderer type: the device name maps to the
|
|
189
|
+
* renderer it runs on (`plain:dot`, `cmapx:map`, ...), not to itself.
|
|
190
|
+
* @see plugin/core/gvrender_core_dot.c:775, gvrender_core_map.c:273-276
|
|
191
|
+
*/
|
|
192
|
+
const RENDER_TYPE_OF_DEVICE: Readonly<Record<string, string>> = {
|
|
193
|
+
plain: 'dot', 'plain-ext': 'dot',
|
|
194
|
+
imap: 'map', 'imap-np': 'map', cmapx: 'map', 'cmapx-np': 'map',
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* `gvloadimage`: build `"<stringtype>:<target>"`, warn when no loadimage
|
|
199
|
+
* plugin serves it. Returns whether the renderer's loadimage hook runs: C runs
|
|
200
|
+
* `job->loadimage.engine`, which stays set from an earlier successful select.
|
|
201
|
+
* @see lib/gvc/gvloadimage.c:gvloadimage (44-64), gvloadimage_select
|
|
202
|
+
*/
|
|
203
|
+
function gvloadimageSelect(job: RenderJob, stringtype: string, target: string): boolean {
|
|
204
|
+
const type = `${stringtype}:${target}`;
|
|
205
|
+
if (CORE_LOADIMAGE_TYPES.has(type)) job.loadimageEngineSet = true;
|
|
206
|
+
else agwarningf(`No loadimage plugin for "${type}"`);
|
|
207
|
+
return job.loadimageEngineSet === true;
|
|
208
|
+
}
|
|
209
|
+
|
|
166
210
|
/**
|
|
167
211
|
* Scale the image `name` to the bounding box of polygon `a` per `imagescale`,
|
|
168
212
|
* place it per `imagepos`, convert to device coordinates unless the renderer
|
|
@@ -180,6 +224,9 @@ export function gvrenderUsershape(
|
|
|
180
224
|
imagescale: string, imagepos: string,
|
|
181
225
|
): void {
|
|
182
226
|
const sizer = job.imageSizer;
|
|
227
|
+
// gvusershape_find misses an image whose gvusershape_open failed (FT_NULL)
|
|
228
|
+
const utype = usershapeType(name, job.imageResolver);
|
|
229
|
+
if (utype?.type === ImageType.FT_NULL) return;
|
|
183
230
|
if (!imageIsSupplied(name, sizer, job.imageResolver)) return;
|
|
184
231
|
|
|
185
232
|
// gvusershape_size_dpi(us, job->dpi)
|
|
@@ -205,5 +252,9 @@ export function gvrenderUsershape(
|
|
|
205
252
|
|
|
206
253
|
if (b.ll.x > b.ur.x) [b.ll.x, b.ur.x] = [b.ur.x, b.ll.x];
|
|
207
254
|
if (b.ll.y > b.ur.y) [b.ll.y, b.ur.y] = [b.ur.y, b.ll.y];
|
|
255
|
+
// gvloadimage; a sizer-only image has no bytes and so no type (AD-5)
|
|
256
|
+
const device = job.renderer?.type ?? job.format;
|
|
257
|
+
const target = RENDER_TYPE_OF_DEVICE[device] ?? device;
|
|
258
|
+
if (utype !== null && !gvloadimageSelect(job, utype.stringtype, target)) return;
|
|
208
259
|
job.renderer?.usershape?.(name, b, job);
|
|
209
260
|
}
|
package/src/gvc/usershape.ts
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
import { invalidArgType } from '../errors.js';
|
|
17
17
|
import type { ImageSizer } from '../common/htmltable-types.js';
|
|
18
18
|
import { findImageBytes, type ImageResolver } from './image-resolver.js';
|
|
19
|
+
import { safefile } from '../common/safefile.js';
|
|
20
|
+
import { ImageType, imagetype, type ImageTypeResult } from './image-type.js';
|
|
19
21
|
|
|
20
22
|
export type { ImageSizer } from '../common/htmltable-types.js';
|
|
21
23
|
|
|
@@ -55,12 +57,43 @@ export function imageIsSupplied(name: string, sizer?: ImageSizer, resolver?: Ima
|
|
|
55
57
|
return size !== null || findImageBytes(name, resolver) !== null;
|
|
56
58
|
}
|
|
57
59
|
|
|
60
|
+
/**
|
|
61
|
+
* The type `gvusershape_open` sniffs from the bytes the resolver supplies for
|
|
62
|
+
* `name`; null when there are none (a sizer-only image has no type, AD-5).
|
|
63
|
+
* @see lib/gvc/gvusershape.c:gvusershape_open (imagetype)
|
|
64
|
+
*/
|
|
65
|
+
export function usershapeType(name: string, resolver?: ImageResolver): ImageTypeResult | null {
|
|
66
|
+
const found = findImageBytes(name, resolver);
|
|
67
|
+
return found === null ? null : imagetype(found.bytes);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The `agwarningf` text for bytes whose magic matches nothing and that name no
|
|
72
|
+
* shape-library member (the port has none).
|
|
73
|
+
* @see lib/gvc/gvusershape.c:gvusershape_open (FT_NULL case)
|
|
74
|
+
*/
|
|
75
|
+
export function imageNotFoundWarning(name: string): string {
|
|
76
|
+
return `"${name}" was not found as a file or as a shape library member`;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The first warning `gvusershape_open` prints when it fails for `name`, or
|
|
81
|
+
* null when it succeeds: nothing supplied (the open failure) or resolver
|
|
82
|
+
* bytes of unknown type (FT_NULL).
|
|
83
|
+
* @see lib/gvc/gvusershape.c:gvusershape_open
|
|
84
|
+
*/
|
|
85
|
+
export function imageOpenFailure(name: string, sizer?: ImageSizer, resolver?: ImageResolver): string | null {
|
|
86
|
+
if (!imageIsSupplied(name, sizer, resolver)) return imageOpenWarning(name);
|
|
87
|
+
return usershapeType(name, resolver)?.type === ImageType.FT_NULL ? imageNotFoundWarning(name) : null;
|
|
88
|
+
}
|
|
89
|
+
|
|
58
90
|
/**
|
|
59
91
|
* The `agwarningf` text `gvusershape_file_access` prints when it cannot open
|
|
60
92
|
* `name`. C does not cache a failed open, so every sizing request repeats it.
|
|
61
93
|
* @see lib/gvc/gvusershape.c:gvusershape_file_access
|
|
62
94
|
*/
|
|
63
95
|
export function imageOpenWarning(name: string): string {
|
|
96
|
+
if (safefile(name) === null) return `Filename "${name}" is unsafe`;
|
|
64
97
|
return `${STRERROR_ENOENT} while opening ${name}`;
|
|
65
98
|
}
|
|
66
99
|
|
|
@@ -90,12 +123,18 @@ export function usershapeDpi(attrs: ReadonlyMap<string, string>): number {
|
|
|
90
123
|
* the result is `(int)(px * 72 / dpi)` (the file's own dpi is unknown to a
|
|
91
124
|
* sizer, so `us->dpi` is 0 as for most formats). Null stands for C's (-1,-1):
|
|
92
125
|
* empty name or an image nobody supplies.
|
|
126
|
+
* @param resolver - the caller's resolver, when it has one; bytes it supplies
|
|
127
|
+
* with unknown magic make the open fail (no size).
|
|
93
128
|
* @see lib/gvc/gvusershape.c:gvusershape_size, gvusershape_size_dpi
|
|
94
129
|
*/
|
|
95
130
|
export function usershapeSizePts(
|
|
96
|
-
name: string | undefined, dpi: number, sizer?: ImageSizer,
|
|
131
|
+
name: string | undefined, dpi: number, sizer?: ImageSizer, resolver?: ImageResolver,
|
|
97
132
|
): { x: number; y: number } | null {
|
|
98
133
|
if (name === undefined || name === '') return null;
|
|
134
|
+
// gvusershape_open fails on bytes of unknown type: no size. Only a resolver
|
|
135
|
+
// the caller names is consulted: an omitted one must not reach the global
|
|
136
|
+
// resolver behind a per-context one (ADR-2).
|
|
137
|
+
if (resolver !== undefined && usershapeType(name, resolver)?.type === ImageType.FT_NULL) return null;
|
|
99
138
|
const px = sizer !== undefined ? sizer(name) : findImageSize(name);
|
|
100
139
|
if (px === null) return null;
|
|
101
140
|
return {
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
digraph{mode=ipsep; diredgeconstraints=true;
|
|
2
|
+
n0->n1;
|
|
3
|
+
n0->n2;
|
|
4
|
+
n1->n3;
|
|
5
|
+
n0->n4;
|
|
6
|
+
n0->n5;
|
|
7
|
+
n4->n6;
|
|
8
|
+
n0->n7;
|
|
9
|
+
n5->n8;
|
|
10
|
+
n0->n9;
|
|
11
|
+
n8->n10;
|
|
12
|
+
n3->n11;
|
|
13
|
+
n0->n12;
|
|
14
|
+
n1->n13;
|
|
15
|
+
n6->n14;
|
|
16
|
+
n6->n15;
|
|
17
|
+
n2->n16;
|
|
18
|
+
n7->n17;
|
|
19
|
+
n2->n18;
|
|
20
|
+
n17->n19;
|
|
21
|
+
n13->n20;
|
|
22
|
+
n1->n21;
|
|
23
|
+
n18->n22;
|
|
24
|
+
n3->n23;
|
|
25
|
+
n7->n24;
|
|
26
|
+
n20->n25;
|
|
27
|
+
n20->n26;
|
|
28
|
+
n18->n27;
|
|
29
|
+
n1->n28;
|
|
30
|
+
n18->n29;
|
|
31
|
+
n18->n30;
|
|
32
|
+
n12->n31;
|
|
33
|
+
n3->n32;
|
|
34
|
+
n14->n33;
|
|
35
|
+
n2->n34;
|
|
36
|
+
n8->n35;
|
|
37
|
+
n18->n36;
|
|
38
|
+
n26->n37;
|
|
39
|
+
n9->n38;
|
|
40
|
+
n34->n39;
|
|
41
|
+
n7->n40;
|
|
42
|
+
n36->n41;
|
|
43
|
+
n19->n42;
|
|
44
|
+
n35->n43;
|
|
45
|
+
n43->n44;
|
|
46
|
+
n11->n45;
|
|
47
|
+
n6->n46;
|
|
48
|
+
n37->n47;
|
|
49
|
+
n36->n48;
|
|
50
|
+
n40->n49;
|
|
51
|
+
n12->n50;
|
|
52
|
+
n23->n51;
|
|
53
|
+
n6->n52;
|
|
54
|
+
n35->n53;
|
|
55
|
+
n45->n54;
|
|
56
|
+
n4->n55;
|
|
57
|
+
n36->n56;
|
|
58
|
+
n3->n57;
|
|
59
|
+
n39->n58;
|
|
60
|
+
n13->n59;
|
|
61
|
+
n31->n60;
|
|
62
|
+
n43->n61;
|
|
63
|
+
n34->n62;
|
|
64
|
+
n27->n63;
|
|
65
|
+
n40->n64;
|
|
66
|
+
n59->n65;
|
|
67
|
+
n58->n66;
|
|
68
|
+
n46->n67;
|
|
69
|
+
n38->n68;
|
|
70
|
+
n31->n69;
|
|
71
|
+
n23->n70;
|
|
72
|
+
n31->n71;
|
|
73
|
+
n10->n72;
|
|
74
|
+
n38->n73;
|
|
75
|
+
n67->n74;
|
|
76
|
+
n63->n75;
|
|
77
|
+
n43->n76;
|
|
78
|
+
n57->n77;
|
|
79
|
+
n36->n78;
|
|
80
|
+
n77->n79;
|
|
81
|
+
n9->n80;
|
|
82
|
+
n15->n81;
|
|
83
|
+
n65->n82;
|
|
84
|
+
n53->n83;
|
|
85
|
+
n21->n84;
|
|
86
|
+
n43->n85;
|
|
87
|
+
n19->n86;
|
|
88
|
+
n62->n87;
|
|
89
|
+
n53->n88;
|
|
90
|
+
n5->n89;
|
|
91
|
+
n85->n90;
|
|
92
|
+
n9->n91;
|
|
93
|
+
n71->n92;
|
|
94
|
+
n73->n93;
|
|
95
|
+
n40->n94;
|
|
96
|
+
n43->n95;
|
|
97
|
+
n88->n96;
|
|
98
|
+
n44->n97;
|
|
99
|
+
n76->n98;
|
|
100
|
+
n63->n99;
|
|
101
|
+
n74->n100;
|
|
102
|
+
n58->n101;
|
|
103
|
+
n8->n102;
|
|
104
|
+
n11->n103;
|
|
105
|
+
n34->n104;
|
|
106
|
+
n60->n105;
|
|
107
|
+
n89->n106;
|
|
108
|
+
n85->n107;
|
|
109
|
+
n8->n108;
|
|
110
|
+
n7->n109;
|
|
111
|
+
n93->n110;
|
|
112
|
+
n89->n111;
|
|
113
|
+
n39->n112;
|
|
114
|
+
n82->n113;
|
|
115
|
+
n73->n114;
|
|
116
|
+
n87->n115;
|
|
117
|
+
n105->n116;
|
|
118
|
+
n57->n117;
|
|
119
|
+
n36->n118;
|
|
120
|
+
n91->n119;
|
|
121
|
+
n49->n120;
|
|
122
|
+
n113->n121;
|
|
123
|
+
n85->n122;
|
|
124
|
+
n44->n123;
|
|
125
|
+
n2->n124;
|
|
126
|
+
n120->n125;
|
|
127
|
+
n59->n126;
|
|
128
|
+
n45->n127;
|
|
129
|
+
n43->n128;
|
|
130
|
+
n29->n129;
|
|
131
|
+
n126->n130;
|
|
132
|
+
n15->n131;
|
|
133
|
+
n55->n132;
|
|
134
|
+
n73->n133;
|
|
135
|
+
n33->n134;
|
|
136
|
+
n63->n135;
|
|
137
|
+
n101->n136;
|
|
138
|
+
n100->n137;
|
|
139
|
+
n127->n138;
|
|
140
|
+
n20->n139;
|
|
141
|
+
n42->n140;
|
|
142
|
+
n114->n141;
|
|
143
|
+
n102->n142;
|
|
144
|
+
n140->n143;
|
|
145
|
+
n71->n144;
|
|
146
|
+
n35->n145;
|
|
147
|
+
n110->n146;
|
|
148
|
+
n140->n147;
|
|
149
|
+
n71->n148;
|
|
150
|
+
n106->n149;
|
|
151
|
+
n91->n150;
|
|
152
|
+
n97->n151;
|
|
153
|
+
n59->n152;
|
|
154
|
+
n38->n153;
|
|
155
|
+
n21->n154;
|
|
156
|
+
n45->n155;
|
|
157
|
+
n38->n156;
|
|
158
|
+
n59->n157;
|
|
159
|
+
n59->n158;
|
|
160
|
+
n3->n159;
|
|
161
|
+
n124->n160;
|
|
162
|
+
n150->n161;
|
|
163
|
+
n46->n162;
|
|
164
|
+
n67->n163;
|
|
165
|
+
n72->n164;
|
|
166
|
+
n1->n165;
|
|
167
|
+
n37->n166;
|
|
168
|
+
n107->n167;
|
|
169
|
+
n136->n168;
|
|
170
|
+
n94->n169;
|
|
171
|
+
n156->n170;
|
|
172
|
+
n144->n171;
|
|
173
|
+
n81->n172;
|
|
174
|
+
n32->n173;
|
|
175
|
+
n131->n174;
|
|
176
|
+
n158->n175;
|
|
177
|
+
n167->n176;
|
|
178
|
+
n173->n177;
|
|
179
|
+
n13->n178;
|
|
180
|
+
n116->n179;
|
|
181
|
+
n174->n180;
|
|
182
|
+
n143->n181;
|
|
183
|
+
n100->n182;
|
|
184
|
+
n101->n183;
|
|
185
|
+
n102->n184;
|
|
186
|
+
n100->n185;
|
|
187
|
+
n26->n186;
|
|
188
|
+
n123->n187;
|
|
189
|
+
n162->n188;
|
|
190
|
+
n102->n189;
|
|
191
|
+
n15->n190;
|
|
192
|
+
n48->n191;
|
|
193
|
+
n17->n192;
|
|
194
|
+
n53->n193;
|
|
195
|
+
n112->n194;
|
|
196
|
+
n41->n195;
|
|
197
|
+
n28->n196;
|
|
198
|
+
n87->n197;
|
|
199
|
+
n153->n198;
|
|
200
|
+
n13->n199;
|
|
201
|
+
n26->n200;
|
|
202
|
+
n0->n201;
|
|
203
|
+
n145->n202;
|
|
204
|
+
n38->n203;
|
|
205
|
+
n137->n204;
|
|
206
|
+
n25->n205;
|
|
207
|
+
n93->n206;
|
|
208
|
+
n157->n207;
|
|
209
|
+
n6->n208;
|
|
210
|
+
n18->n209;
|
|
211
|
+
n53->n210;
|
|
212
|
+
n157->n211;
|
|
213
|
+
n96->n212;
|
|
214
|
+
n38->n213;
|
|
215
|
+
n162->n214;
|
|
216
|
+
n64->n215;
|
|
217
|
+
n88->n216;
|
|
218
|
+
n154->n217;
|
|
219
|
+
n93->n218;
|
|
220
|
+
n121->n219;
|
|
221
|
+
n119->n122;
|
|
222
|
+
n21->n36;
|
|
223
|
+
n26->n191;
|
|
224
|
+
n87->n189;
|
|
225
|
+
n67->n122;
|
|
226
|
+
n41->n132;
|
|
227
|
+
n5->n52;
|
|
228
|
+
n37->n176;
|
|
229
|
+
n76->n164;
|
|
230
|
+
n23->n178;
|
|
231
|
+
n42->n91;
|
|
232
|
+
n136->n138;
|
|
233
|
+
n84->n162;
|
|
234
|
+
n57->n156;
|
|
235
|
+
n194->n218;
|
|
236
|
+
n49->n206;
|
|
237
|
+
n61->n209;
|
|
238
|
+
n102->n189;
|
|
239
|
+
n51->n132;
|
|
240
|
+
n7->n202;
|
|
241
|
+
n71->n120;
|
|
242
|
+
n88->n114;
|
|
243
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
dot - graphviz version 16.1.0 (20261012.1431)
|
|
2
|
+
libdir = "/private/tmp/claude-501/-Users-scottseely-git-knowvah-dot-engine/dfc80e32-d4b2-43d1-a20b-4d2c1be89946/scratchpad/ghl16-all"
|
|
3
|
+
Activated plugin library: libgvplugin_neato_layout.8.dylib
|
|
4
|
+
Using layout: neato:neato_layout
|
|
5
|
+
Activated plugin library: libgvplugin_core.8.dylib
|
|
6
|
+
Using render: xdot:core
|
|
7
|
+
Using device: xdot:xdot:core
|
|
8
|
+
The plugin configuration file:
|
|
9
|
+
/private/tmp/claude-501/-Users-scottseely-git-knowvah-dot-engine/dfc80e32-d4b2-43d1-a20b-4d2c1be89946/scratchpad/ghl16-all/config8
|
|
10
|
+
was successfully loaded.
|
|
11
|
+
render : dot dot_json fig json json0 map pic pov ps svg svg_inline tk xdot xdot_json
|
|
12
|
+
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
|
|
13
|
+
textlayout :
|
|
14
|
+
device : canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 pic plain plain-ext pov ps ps2 svg svg_inline svgz tk xdot xdot1.2 xdot1.4 xdot_json
|
|
15
|
+
loadimage : (lib) eps gif jpe jpeg jpg png ps svg
|
|
16
|
+
fontname: "Times-Roman" resolved to: [internal hard-coded]
|
|
17
|
+
overlap: none value 76052192 scaling 0.0000
|
|
18
|
+
pack info:
|
|
19
|
+
mode undefined
|
|
20
|
+
size 0
|
|
21
|
+
flags 0
|
|
22
|
+
Scanning graph %1, 220 nodes
|
|
23
|
+
model 0 smart_init 0 stresswt 2 iterations 22000 tol 0.000100
|
|
24
|
+
convert graph: majorization
|
|
25
|
+
220 nodes 0.00 sec
|
|
26
|
+
Generating Edge Constraints...
|
|
27
|
+
Node separation: add=1 (4.000000,4.000000)
|
|
28
|
+
gap=0.111111,0.111111
|
|
29
|
+
Calculating shortest paths: 0.00 sec
|
|
30
|
+
Setting initial positions: 0.00 sec initCMajVPSC done: 0 global constraints generated.
|
|
31
|
+
generate edge constraints...
|
|
32
|
+
initCMajVPSC done: 240 global constraints generated.
|
|
33
|
+
14977.764
|
|
34
|
+
9312.339 7485.240 6343.185 5521.399 4925.333 4469.971 4124.321 3879.374 3708.412 3577.659
|
|
35
|
+
3475.850 3394.571 3327.127 3271.839 3229.494 3193.527 3166.267 3146.371 3129.831 3114.408
|
|
36
|
+
3102.148 3089.828 3079.395 3070.922 3061.667 3052.751 3044.078 3036.360 3029.614 3024.440
|
|
37
|
+
3020.030 3015.335 3011.820 3008.787 3006.455 3004.507 3002.776 3000.782 2999.003 2996.379
|
|
38
|
+
2995.197 2994.288 2993.478 2992.657 2991.862 2991.130 2990.461 2989.812 2989.164 2988.506
|
|
39
|
+
2987.849 2987.212 2986.627 2986.089 2985.573 2985.027 2984.026 2983.453 2982.953 2982.471
|
|
40
|
+
2982.030 2981.414 2980.940 2980.419 2979.939 2979.465 2978.974 2978.379 2977.795 2977.193
|
|
41
|
+
2976.521 2975.810 2975.053 2974.352 2973.681 2973.035 2972.397 2971.764 2970.930 2970.277
|
|
42
|
+
2969.420 2968.675 2967.915 2966.264 2965.086 2963.998 2962.880 2961.818 2960.672 2959.453
|
|
43
|
+
2958.021 2956.685 2955.387 2954.120 2952.866 2951.560 2950.056 2948.303 2946.460 2944.551
|
|
44
|
+
2942.508 2940.116 2937.678 2935.153 2932.747 2930.177 2927.273 2924.047 2920.635 2917.103
|
|
45
|
+
2913.506 2909.827 2906.285 2903.131 2900.175 2896.758 2894.003 2891.436 2888.742 2886.432
|
|
46
|
+
2884.427 2882.717 2881.202 2879.735 2878.268 2876.793 2875.318 2873.776 2872.102 2870.403
|
|
47
|
+
2868.682 2866.918 2865.066 2863.062 2860.863 2858.626 2856.361 2854.065 2851.819 2849.737
|
|
48
|
+
2847.857 2846.140 2844.553 2843.167 2841.962 2840.524 2839.543 2838.770 2838.138 2837.588
|
|
49
|
+
2837.111 2836.691 2836.323 2835.990 2835.702 2835.446
|
|
50
|
+
final e = 2835.446219 157 iterations 0.59 sec
|
|
51
|
+
Edge separation: add=1 (3.200000,3.200000)
|
|
52
|
+
Creating edges using line segments
|
|
53
|
+
Using render: xdot:core
|
|
54
|
+
Using device: xdot:xdot:core
|
|
55
|
+
[Graphviz] emit.c:4323: 2026-10-30 15:33:55 gvRenderJobs %1: 0.00 secs.
|