@knowvah/dot-engine 2.10.3 → 2.12.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/agerr.d.ts +12 -0
- package/dist/common/agerr.d.ts.map +1 -1
- package/dist/gvc/context.d.ts.map +1 -1
- package/dist/gvc/emit-xdot.d.ts.map +1 -1
- package/dist/gvc/layout-reset.d.ts +38 -1
- package/dist/gvc/layout-reset.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1260 -387
- package/dist/index.js.map +4 -4
- package/dist/layout/circo/circular.d.ts.map +1 -1
- package/dist/layout/dot/edge-route-chain.d.ts.map +1 -1
- package/dist/layout/dot/edge-route-helpers.d.ts +6 -1
- package/dist/layout/dot/edge-route-helpers.d.ts.map +1 -1
- package/dist/layout/dot/edge-route-rank.d.ts +4 -1
- package/dist/layout/dot/edge-route-rank.d.ts.map +1 -1
- package/dist/layout/dot/index.d.ts.map +1 -1
- package/dist/layout/dot/init.d.ts.map +1 -1
- package/dist/layout/fdp/cluster-edges.d.ts +11 -0
- package/dist/layout/fdp/cluster-edges.d.ts.map +1 -1
- package/dist/layout/neato/closest.d.ts +20 -0
- package/dist/layout/neato/closest.d.ts.map +1 -0
- package/dist/layout/neato/constrained-majorization.d.ts +13 -0
- package/dist/layout/neato/constrained-majorization.d.ts.map +1 -1
- package/dist/layout/neato/embed-graph.d.ts +20 -0
- package/dist/layout/neato/embed-graph.d.ts.map +1 -0
- package/dist/layout/neato/fdp-adjust.d.ts.map +1 -1
- package/dist/layout/neato/index.d.ts.map +1 -1
- package/dist/layout/neato/init-dim.d.ts +54 -0
- package/dist/layout/neato/init-dim.d.ts.map +1 -0
- package/dist/layout/neato/init.d.ts +1 -11
- package/dist/layout/neato/init.d.ts.map +1 -1
- package/dist/layout/neato/kk.d.ts +4 -2
- package/dist/layout/neato/kk.d.ts.map +1 -1
- package/dist/layout/neato/matrix-ops-dense.d.ts +34 -0
- package/dist/layout/neato/matrix-ops-dense.d.ts.map +1 -0
- package/dist/layout/neato/pca.d.ts +14 -0
- package/dist/layout/neato/pca.d.ts.map +1 -0
- package/dist/layout/neato/sgd.d.ts +2 -3
- package/dist/layout/neato/sgd.d.ts.map +1 -1
- package/dist/layout/neato/start.d.ts +5 -5
- package/dist/layout/neato/start.d.ts.map +1 -1
- package/dist/layout/neato/stress-kernel.d.ts +10 -2
- package/dist/layout/neato/stress-kernel.d.ts.map +1 -1
- package/dist/layout/neato/stress-subspace.d.ts +39 -0
- package/dist/layout/neato/stress-subspace.d.ts.map +1 -0
- package/dist/layout/neato/vpsc-adjust.d.ts.map +1 -1
- package/dist/layout/pack/ccomps.d.ts +4 -2
- package/dist/layout/pack/ccomps.d.ts.map +1 -1
- package/dist/layout/sfdp/index.d.ts.map +1 -1
- package/dist/layout/sfdp/init.d.ts +6 -7
- package/dist/layout/sfdp/init.d.ts.map +1 -1
- package/dist/layout/twopi/circle.d.ts.map +1 -1
- package/dist/layout/twopi/index.d.ts.map +1 -1
- package/dist/render/dot/attrs.d.ts +7 -0
- package/dist/render/dot/attrs.d.ts.map +1 -1
- package/dist/render.js +1637 -770
- package/dist/render.js.map +4 -4
- package/package.json +4 -4
- package/src/common/agerr.ts +49 -1
- package/src/gvc/__fixtures__/rerender/abom-shift-pack.dot.plain.nofree.1 +20 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-pack.dot.plain.nofree.2 +20 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-pack.dot.plain.nofree.3 +20 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-pack.gv +1 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-parity.dot.plain.nofree.1 +22 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-parity.dot.plain.nofree.2 +22 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-parity.dot.plain.nofree.3 +22 -0
- package/src/gvc/__fixtures__/rerender/abom-shift-parity.gv +1 -0
- package/src/gvc/__fixtures__/rerender/abom-shift.dot.plain.nofree.1 +13 -0
- package/src/gvc/__fixtures__/rerender/abom-shift.dot.plain.nofree.2 +13 -0
- package/src/gvc/__fixtures__/rerender/abom-shift.dot.plain.nofree.3 +13 -0
- package/src/gvc/__fixtures__/rerender/abom-shift.gv +1 -0
- package/src/gvc/__fixtures__/rerender/cluster-edge-splines.fdp.plain.1 +10 -0
- package/src/gvc/__fixtures__/rerender/cluster-edge-splines.fdp.plain.2 +11 -0
- package/src/gvc/__fixtures__/rerender/cluster-edge-splines.gv +9 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.dot.1 +40 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.dot.2 +40 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.plain.noaddr.1 +15 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.plain.noaddr.2 +17 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-dot-plain.1 +40 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-dot-plain.2 +15 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-dot-svg.1 +40 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-dot-svg.2 +99 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-json-json.1 +489 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-json-json.2 +503 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-nofree-dot-svg.1 +40 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.seq-nofree-dot-svg.2 +109 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.xdot.1 +69 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.fdp.xdot.2 +70 -0
- package/src/gvc/__fixtures__/rerender/cluster-edges.gv +15 -0
- package/src/gvc/__fixtures__/rerender/fdp-1581.fdp.dot.1 +104 -0
- package/src/gvc/__fixtures__/rerender/fdp-1581.fdp.dot.2 +104 -0
- package/src/gvc/__fixtures__/rerender/fdp-1581.gv +26 -0
- package/src/gvc/__fixtures__/rerender/flat-rev-stale.dot.plain.nofree.1 +34 -0
- package/src/gvc/__fixtures__/rerender/flat-rev-stale.dot.plain.nofree.2 +34 -0
- package/src/gvc/__fixtures__/rerender/flat-rev-stale.dot.plain.nofree.3 +34 -0
- package/src/gvc/__fixtures__/rerender/flat-rev-stale.gv +33 -0
- package/src/gvc/__fixtures__/rerender/multi-edge.dot.svg.nofree.1 +181 -0
- package/src/gvc/__fixtures__/rerender/multi-edge.dot.svg.nofree.2 +218 -0
- package/src/gvc/__fixtures__/rerender/multi-edge.dot.svg.nofree.3 +255 -0
- package/src/gvc/__fixtures__/rerender/regen.sh +25 -0
- package/src/gvc/context.ts +7 -2
- package/src/gvc/emit-xdot.ts +37 -7
- package/src/gvc/layout-reset.ts +59 -1
- package/src/index.ts +4 -0
- package/src/layout/circo/circular.ts +3 -1
- package/src/layout/dot/edge-route-chain.ts +79 -7
- package/src/layout/dot/edge-route-helpers.ts +8 -2
- package/src/layout/dot/edge-route-rank.ts +20 -2
- package/src/layout/dot/index.ts +17 -2
- package/src/layout/dot/init.ts +9 -17
- package/src/layout/dot/splines-flat.ts +12 -12
- package/src/layout/dot/splines.ts +2 -2
- package/src/layout/fdp/cluster-edges.ts +0 -0
- package/src/layout/fdp/index.ts +2 -2
- package/src/layout/neato/__fixtures__/dim/circuit-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/circuit-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/circuit-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/circuit-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/dim11-dimen11.dot +32 -0
- package/src/layout/neato/__fixtures__/dim/dim11-dimen11.gv +11 -0
- package/src/layout/neato/__fixtures__/dim/dim11-dimen11.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/dim11-dimen11.xdot +53 -0
- package/src/layout/neato/__fixtures__/dim/dim3-dimen3.dot +32 -0
- package/src/layout/neato/__fixtures__/dim/dim3-dimen3.gv +11 -0
- package/src/layout/neato/__fixtures__/dim/dim3-dimen3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/dim3-dimen3.xdot +53 -0
- package/src/layout/neato/__fixtures__/dim/dim3.dot +31 -0
- package/src/layout/neato/__fixtures__/dim/dim3.gv +10 -0
- package/src/layout/neato/__fixtures__/dim/dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/dim3.xdot +52 -0
- package/src/layout/neato/__fixtures__/dim/dim4-dimen4.dot +32 -0
- package/src/layout/neato/__fixtures__/dim/dim4-dimen4.gv +11 -0
- package/src/layout/neato/__fixtures__/dim/dim4-dimen4.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/dim4-dimen4.xdot +53 -0
- package/src/layout/neato/__fixtures__/dim/dimen3.dot +31 -0
- package/src/layout/neato/__fixtures__/dim/dimen3.gv +10 -0
- package/src/layout/neato/__fixtures__/dim/dimen3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/dimen3.xdot +52 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim3.dot +267 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim3.gv +84 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim3.xdot +468 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim4.dot +267 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim4.gv +84 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim4.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-dim4.xdot +468 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-subset-dim3.dot +268 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-subset-dim3.gv +85 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-subset-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-big-subset-dim3.xdot +469 -0
- package/src/layout/neato/__fixtures__/dim/hier-big110-dim3.dot +484 -0
- package/src/layout/neato/__fixtures__/dim/hier-big110-dim3.gv +151 -0
- package/src/layout/neato/__fixtures__/dim/hier-big110-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-big110-dim3.xdot +852 -0
- package/src/layout/neato/__fixtures__/dim/hier-circuit-dim3.dot +34 -0
- package/src/layout/neato/__fixtures__/dim/hier-circuit-dim3.gv +13 -0
- package/src/layout/neato/__fixtures__/dim/hier-circuit-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-circuit-dim3.xdot +55 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim4.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim4.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim4.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-dim4.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim2.dot +32 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim2.gv +11 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim2.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim2.xdot +53 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim3.dot +34 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim3.gv +13 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-dirnone-dim3.xdot +55 -0
- package/src/layout/neato/__fixtures__/dim/hier-len-dim3.dot +37 -0
- package/src/layout/neato/__fixtures__/dim/hier-len-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/hier-len-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-len-dim3.xdot +58 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-big.dot +141 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-big.gv +48 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-big.stderr +1 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-big.xdot +233 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim2.dot +21 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim2.gv +8 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim2.stderr +1 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim2.xdot +33 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim3.dot +23 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim3.gv +10 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim3.stderr +1 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim3.xdot +35 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim4.dot +23 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim4.gv +10 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim4.stderr +1 -0
- package/src/layout/neato/__fixtures__/dim/hier-noedge-dim4.xdot +35 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim2.dot +26 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim2.gv +7 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim2.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim2.xdot +44 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim3.dot +28 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim3.gv +9 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-nohier-dim3.xdot +46 -0
- package/src/layout/neato/__fixtures__/dim/hier-pack-dim3.dot +48 -0
- package/src/layout/neato/__fixtures__/dim/hier-pack-dim3.gv +15 -0
- package/src/layout/neato/__fixtures__/dim/hier-pack-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-pack-dim3.xdot +79 -0
- package/src/layout/neato/__fixtures__/dim/hier-ring-dim3.dot +56 -0
- package/src/layout/neato/__fixtures__/dim/hier-ring-dim3.gv +17 -0
- package/src/layout/neato/__fixtures__/dim/hier-ring-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-ring-dim3.xdot +94 -0
- package/src/layout/neato/__fixtures__/dim/hier-star-dim3.dot +47 -0
- package/src/layout/neato/__fixtures__/dim/hier-star-dim3.gv +14 -0
- package/src/layout/neato/__fixtures__/dim/hier-star-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-star-dim3.xdot +78 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim3.dot +34 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim3.gv +13 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim3.xdot +55 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim4.dot +34 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim4.gv +13 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim4.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-stresswt1-dim4.xdot +55 -0
- package/src/layout/neato/__fixtures__/dim/hier-subset-dim3.dot +34 -0
- package/src/layout/neato/__fixtures__/dim/hier-subset-dim3.gv +13 -0
- package/src/layout/neato/__fixtures__/dim/hier-subset-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-subset-dim3.xdot +55 -0
- package/src/layout/neato/__fixtures__/dim/hier-two-dim3.dot +15 -0
- package/src/layout/neato/__fixtures__/dim/hier-two-dim3.gv +6 -0
- package/src/layout/neato/__fixtures__/dim/hier-two-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/hier-two-dim3.xdot +22 -0
- package/src/layout/neato/__fixtures__/dim/ipsep-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/ipsep-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/ipsep-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/ipsep-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim4-dimen4.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim4-dimen4.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim4-dimen4.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/kk-dim4-dimen4.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/kk-pins-dim3.dot +39 -0
- package/src/layout/neato/__fixtures__/dim/kk-pins-dim3.gv +15 -0
- package/src/layout/neato/__fixtures__/dim/kk-pins-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/kk-pins-dim3.xdot +60 -0
- package/src/layout/neato/__fixtures__/dim/overlap-false-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/overlap-false-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/overlap-false-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/overlap-false-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/overlap-scale-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/overlap-scale-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/overlap-scale-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/overlap-scale-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/overlap-vpsc-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/overlap-vpsc-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/overlap-vpsc-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/overlap-vpsc-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/pack-dim3.dot +47 -0
- package/src/layout/neato/__fixtures__/dim/pack-dim3.gv +14 -0
- package/src/layout/neato/__fixtures__/dim/pack-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/pack-dim3.xdot +78 -0
- package/src/layout/neato/__fixtures__/dim/pins-dim3.dot +38 -0
- package/src/layout/neato/__fixtures__/dim/pins-dim3.gv +14 -0
- package/src/layout/neato/__fixtures__/dim/pins-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/pins-dim3.xdot +59 -0
- package/src/layout/neato/__fixtures__/dim/regen.sh +24 -0
- package/src/layout/neato/__fixtures__/dim/regular-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/regular-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/regular-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/regular-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/sgd-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/sgd-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/sgd-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/sgd-dim3.xdot +54 -0
- package/src/layout/neato/__fixtures__/dim/smart-units.json +16 -0
- package/src/layout/neato/__fixtures__/dim/subset-dim3.dot +33 -0
- package/src/layout/neato/__fixtures__/dim/subset-dim3.gv +12 -0
- package/src/layout/neato/__fixtures__/dim/subset-dim3.stderr +0 -0
- package/src/layout/neato/__fixtures__/dim/subset-dim3.xdot +54 -0
- package/src/layout/neato/closest.ts +206 -0
- package/src/layout/neato/constrained-majorization.ts +4 -23
- package/src/layout/neato/embed-graph.ts +81 -0
- package/src/layout/neato/fdp-adjust.ts +22 -8
- package/src/layout/neato/index.ts +26 -17
- package/src/layout/neato/init-dim.ts +165 -0
- package/src/layout/neato/init.ts +9 -35
- package/src/layout/neato/kk.ts +47 -41
- package/src/layout/neato/matrix-ops-dense.ts +232 -0
- package/src/layout/neato/pca.ts +60 -0
- package/src/layout/neato/sgd.ts +14 -13
- package/src/layout/neato/start.ts +8 -5
- package/src/layout/neato/stress-kernel.ts +65 -5
- package/src/layout/neato/stress-subspace.ts +371 -0
- package/src/layout/neato/vpsc-adjust.ts +3 -1
- package/src/layout/pack/__fixtures__/cc-reuse/circo.dot +23 -0
- package/src/layout/pack/__fixtures__/cc-reuse/circo.gv +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/circo.stderr +0 -0
- package/src/layout/pack/__fixtures__/cc-reuse/circo.xdot +38 -0
- package/src/layout/pack/__fixtures__/cc-reuse/neato.dot +23 -0
- package/src/layout/pack/__fixtures__/cc-reuse/neato.gv +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/neato.stderr +0 -0
- package/src/layout/pack/__fixtures__/cc-reuse/neato.xdot +38 -0
- package/src/layout/pack/__fixtures__/cc-reuse/osage.dot +23 -0
- package/src/layout/pack/__fixtures__/cc-reuse/osage.gv +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/osage.stderr +0 -0
- package/src/layout/pack/__fixtures__/cc-reuse/osage.xdot +38 -0
- package/src/layout/pack/__fixtures__/cc-reuse/regen.sh +24 -0
- package/src/layout/pack/__fixtures__/cc-reuse/sfdp.dot +21 -0
- package/src/layout/pack/__fixtures__/cc-reuse/sfdp.gv +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/sfdp.stderr +0 -0
- package/src/layout/pack/__fixtures__/cc-reuse/sfdp.xdot +36 -0
- package/src/layout/pack/__fixtures__/cc-reuse/twopi.dot +21 -0
- package/src/layout/pack/__fixtures__/cc-reuse/twopi.gv +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/twopi.stderr +1 -0
- package/src/layout/pack/__fixtures__/cc-reuse/twopi.xdot +36 -0
- package/src/layout/pack/ccomps.ts +34 -6
- package/src/layout/sfdp/__fixtures__/dim/dim3-dimen3.dot +32 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3-dimen3.gv +11 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3-dimen3.stderr +0 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3-dimen3.xdot +53 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3.dot +31 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3.gv +10 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3.stderr +0 -0
- package/src/layout/sfdp/__fixtures__/dim/dim3.xdot +52 -0
- package/src/layout/sfdp/__fixtures__/dim/dim4-dimen4.dot +32 -0
- package/src/layout/sfdp/__fixtures__/dim/dim4-dimen4.gv +11 -0
- package/src/layout/sfdp/__fixtures__/dim/dim4-dimen4.stderr +0 -0
- package/src/layout/sfdp/__fixtures__/dim/dim4-dimen4.xdot +53 -0
- package/src/layout/sfdp/__fixtures__/dim/overlap-prism-dim3.dot +33 -0
- package/src/layout/sfdp/__fixtures__/dim/overlap-prism-dim3.gv +12 -0
- package/src/layout/sfdp/__fixtures__/dim/overlap-prism-dim3.stderr +0 -0
- package/src/layout/sfdp/__fixtures__/dim/overlap-prism-dim3.xdot +54 -0
- package/src/layout/sfdp/__fixtures__/dim/regen.sh +24 -0
- package/src/layout/sfdp/index.ts +15 -10
- package/src/layout/sfdp/init.ts +26 -11
- package/src/layout/twopi/circle.ts +5 -1
- package/src/layout/twopi/index.ts +3 -0
- package/src/render/dot/agwrite.ts +2 -2
- package/src/render/dot/attrs.ts +16 -0
- package/src/render/dot/write-back.ts +2 -2
|
@@ -22,6 +22,7 @@ import { routeSpline } from '../../pathplan/route.js';
|
|
|
22
22
|
import type { Edge as BarrierEdge } from '../../pathplan/types.js';
|
|
23
23
|
import { linearBezier } from './edge-route-poly.js';
|
|
24
24
|
import { updateBbBz } from '../../common/splines-geom.js';
|
|
25
|
+
import { newSpline } from '../../common/splines-clip.js';
|
|
25
26
|
import { DEFAULT_NODEPENWIDTH } from './edge-route-clip.js';
|
|
26
27
|
import { resolvePenWidth, parseStyleFlags } from '../../common/style-resolve.js';
|
|
27
28
|
import type { NodeBox } from './edge-route-geom.js';
|
|
@@ -140,9 +141,14 @@ export function makeSplineRecord(bz: Bezier): Spline {
|
|
|
140
141
|
return { list: [bz], size: 1, bb: { ll: { x: 0, y: 0 }, ur: { x: 0, y: 0 } } };
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Append a Bezier to the edge's Spline, as new_spline does: a layout with no free
|
|
146
|
+
* keeps the routes of the layouts before it.
|
|
147
|
+
* @see lib/common/splines.c:new_spline
|
|
148
|
+
* @see lib/common/splines.c:clip_and_install
|
|
149
|
+
*/
|
|
144
150
|
export function installEdgeSpline(e: GraphEdge, bezierPts: Point[], arrowTip: Point): void {
|
|
145
|
-
e.
|
|
151
|
+
Object.assign(newSpline(e, bezierPts.length), makeBezierRecord(bezierPts, arrowTip));
|
|
146
152
|
// C clip_and_install expands GD_bb by every installed bezier segment via
|
|
147
153
|
// update_bb_bz (splines.c:312). This direct-install path (chain/long-edge
|
|
148
154
|
// router) must do the same, else a spline that bows outside the node hull —
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
import type { Graph } from '../../model/graph.js';
|
|
14
14
|
import type { Node } from '../../model/node.js';
|
|
15
15
|
import type { Edge } from '../../model/edge.js';
|
|
16
|
+
import type { Bezier } from '../../model/geom.js';
|
|
16
17
|
import { swapBezier, swapEndsP } from './splines.js';
|
|
17
18
|
import type { RankEdgeInfo } from './edge-route-routing.js';
|
|
18
19
|
|
|
@@ -153,12 +154,19 @@ export function staleBezierCount(e: Edge): number {
|
|
|
153
154
|
|
|
154
155
|
/**
|
|
155
156
|
* True when `e` kept ED_adjacent from an earlier layout. C never clears the flag,
|
|
156
|
-
* so it routes `e` as adjacent even if a node now sits between its ends.
|
|
157
|
+
* so it routes `e` as adjacent even if a node now sits between its ends. A flat
|
|
158
|
+
* edge this layout merged into a new reversed edge goes by that edge's flag: C
|
|
159
|
+
* routes the representative, whose record has no stale flag.
|
|
157
160
|
* @see lib/dotgen/flat.c:236
|
|
158
161
|
* @see lib/dotgen/dotsplines.c:366
|
|
162
|
+
* @see lib/dotgen/mincross.c:flat_rev
|
|
159
163
|
*/
|
|
160
164
|
export function staleAdjacent(e: Edge): boolean {
|
|
161
|
-
|
|
165
|
+
let rep = e;
|
|
166
|
+
while (rep.info.to_virt !== undefined && rep.info.to_virt !== rep) rep = rep.info.to_virt;
|
|
167
|
+
const samePair = (rep.tail === e.tail && rep.head === e.head)
|
|
168
|
+
|| (rep.tail === e.head && rep.head === e.tail);
|
|
169
|
+
return staleBezierCount(e) > 0 && ((samePair ? rep : e).info.adjacent ?? 0) !== 0;
|
|
162
170
|
}
|
|
163
171
|
|
|
164
172
|
/**
|
|
@@ -177,9 +185,19 @@ export function swapStaleBeziers(g: Graph): void {
|
|
|
177
185
|
const old = spl.list.splice(0, stale).reverse();
|
|
178
186
|
for (const bz of old) swapBezier(bz);
|
|
179
187
|
spl.list.push(...old);
|
|
188
|
+
fillEdgeArrowSlots(e, old);
|
|
180
189
|
}
|
|
181
190
|
}
|
|
182
191
|
|
|
192
|
+
/**
|
|
193
|
+
* C draws from each bezier's flags. The edge slot is the port's source for an end
|
|
194
|
+
* with one flagged bezier, and the swap can make a stale one that bezier.
|
|
195
|
+
*/
|
|
196
|
+
function fillEdgeArrowSlots(e: Edge, old: readonly Bezier[]): void {
|
|
197
|
+
e.info.tailArrowOps ??= old.find((bz) => bz.sflag !== 0)?.sArrowOps;
|
|
198
|
+
e.info.headArrowOps ??= old.find((bz) => bz.eflag !== 0)?.eArrowOps;
|
|
199
|
+
}
|
|
200
|
+
|
|
183
201
|
/**
|
|
184
202
|
* Extract RankEdgeInfo from the graph's rank table for an edge.
|
|
185
203
|
* Returns undefined if rank geometry is not available.
|
package/src/layout/dot/index.ts
CHANGED
|
@@ -116,6 +116,21 @@ export function getAttrInt(g: Graph, key: string, defaultVal: number): number {
|
|
|
116
116
|
// dotLayoutPipeline stays within the 30-line body limit.
|
|
117
117
|
// ---------------------------------------------------------------------------
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* abomShift is port-only (AD-2): C's abomination uses rank -1 and leaves ND_rank
|
|
121
|
+
* alone, so a later layout starts from unshifted ranks. expand_ranksets adds to a
|
|
122
|
+
* rank set member's old ND_rank when no free ran, so the old shift comes off too.
|
|
123
|
+
* @see lib/dotgen/flat.c:abomination
|
|
124
|
+
* @see lib/dotgen/rank.c:expand_ranksets
|
|
125
|
+
*/
|
|
126
|
+
function resetAbomShift(g: Graph): void {
|
|
127
|
+
const shift = g.info.abomShift ?? 0;
|
|
128
|
+
if (shift !== 0) {
|
|
129
|
+
for (const n of g.nodes.values()) n.info.rank = (n.info.rank ?? 0) - shift;
|
|
130
|
+
}
|
|
131
|
+
g.info.abomShift = 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
119
134
|
/**
|
|
120
135
|
* Phase 0: parse rankdir, set edge type, and run aspect + init passes.
|
|
121
136
|
* dotGraphInit must run first so g.info.flip is set before nodeinit uses it.
|
|
@@ -123,8 +138,7 @@ export function getAttrInt(g: Graph, key: string, defaultVal: number): number {
|
|
|
123
138
|
* @see lib/dotgen/dotinit.c:dotLayout (static)
|
|
124
139
|
*/
|
|
125
140
|
export function dotPhaseInit(g: Graph): void {
|
|
126
|
-
|
|
127
|
-
for (const e of g.edges) e.info.weight = undefined;
|
|
141
|
+
resetAbomShift(g);
|
|
128
142
|
dotGraphInit(g);
|
|
129
143
|
setEdgeTypeFromAttr(g, EDGETYPE_SPLINE);
|
|
130
144
|
setAspect(g);
|
|
@@ -307,6 +321,7 @@ export function doDot(g: Graph): void {
|
|
|
307
321
|
} else if (ratioIsNone(g)) {
|
|
308
322
|
pinfo.doSplines = true;
|
|
309
323
|
layoutAndPack(g, comps, pinfo, origOf);
|
|
324
|
+
for (const comp of comps) resetAbomShift(comp); // the next layout builds new components
|
|
310
325
|
} else {
|
|
311
326
|
// Non-trivial ratio with multiple components: C lays out the whole graph.
|
|
312
327
|
dotLayoutPipeline(g);
|
package/src/layout/dot/init.ts
CHANGED
|
@@ -98,11 +98,11 @@ export const CL_CROSS = 1000;
|
|
|
98
98
|
*/
|
|
99
99
|
export function dotInitNode(n: Node): void {
|
|
100
100
|
n.info.UF_size = 1;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
n.info.in = { list: [], size: 0 };
|
|
102
|
+
n.info.out = { list: [], size: 0 };
|
|
103
|
+
n.info.flat_in = { list: [], size: 0 };
|
|
104
|
+
n.info.flat_out = { list: [], size: 0 };
|
|
105
|
+
n.info.other = { list: [], size: 0 };
|
|
106
106
|
// Default lw = rw = 0.75in/2 × 72 = 27 pts; ht = 0.5in × 72 = 36 pts. C's
|
|
107
107
|
// dot_init_node has no such fallback (gv_nodesize always sets a size); this is
|
|
108
108
|
// only a guard for a node that reached here UNSIZED. Test `=== undefined`, not
|
|
@@ -170,15 +170,11 @@ function applyNonconstraintZero(e: Edge): void {
|
|
|
170
170
|
*/
|
|
171
171
|
export function dotInitEdge(e: Edge): void {
|
|
172
172
|
initEdgeConstraint(e);
|
|
173
|
-
// C: ED_weight(e) = late_int(e, E_weight, 1, 0)
|
|
174
|
-
//
|
|
175
|
-
// machinery has stamped with a synthetic weight (e.g. 10000); preserve that
|
|
176
|
-
// when there is no attr, rather than resetting to the default. The group/
|
|
173
|
+
// C: ED_weight(e) = late_int(e, E_weight, 1, 0), the attribute only, on an aux
|
|
174
|
+
// edge too: make_flat_adj_edges writes its 10000 with agxset. The group and
|
|
177
175
|
// nonconstraint adjustments below then apply on top, matching C's order.
|
|
178
176
|
// @see lib/dotgen/dotinit.c:65
|
|
179
|
-
e.info.weight = e.attrs.
|
|
180
|
-
? lateInt(e.attrs.get('weight'), 1, 0)
|
|
181
|
-
: (e.info.weight ?? 1);
|
|
177
|
+
e.info.weight = lateInt(e.attrs.get('weight'), 1, 0);
|
|
182
178
|
e.info.count = 1;
|
|
183
179
|
e.info.xpenalty = 1;
|
|
184
180
|
applyGroupPenalty(e);
|
|
@@ -224,10 +220,7 @@ export function dotInitSubg(g: Graph): void {
|
|
|
224
220
|
// ---------------------------------------------------------------------------
|
|
225
221
|
|
|
226
222
|
/**
|
|
227
|
-
* Drops a node's fast-graph lists
|
|
228
|
-
* unconditionally, and dot_cleanup frees them, so neither a later layout nor a
|
|
229
|
-
* layout with no gvFreeLayout before it reads the previous layout's edges.
|
|
230
|
-
* @see lib/dotgen/dotinit.c:dot_init_node (alloc_elist)
|
|
223
|
+
* Drops a node's fast-graph lists, as dot_cleanup frees them.
|
|
231
224
|
* @see lib/dotgen/dotinit.c:dot_cleanup_node (free_list)
|
|
232
225
|
*/
|
|
233
226
|
function clearFastGraphLists(n: Node): void {
|
|
@@ -248,7 +241,6 @@ function clearFastGraphLists(n: Node): void {
|
|
|
248
241
|
export function dotInitNodeEdge(g: Graph): void {
|
|
249
242
|
for (const n of nodesInSeq(g)) {
|
|
250
243
|
commonInitNode(n, g);
|
|
251
|
-
clearFastGraphLists(n); // C's alloc_elist does not keep the lists it replaces
|
|
252
244
|
dotInitNode(n);
|
|
253
245
|
}
|
|
254
246
|
const measurer = g.root.info.gvc?.textMeasurer;
|
|
@@ -194,7 +194,7 @@ function buildFlatAux(g: Graph, edges: Edge[], cnt: number): FlatAux {
|
|
|
194
194
|
if (hvye === null && isPortless(orig)) hvye = auxe;
|
|
195
195
|
}
|
|
196
196
|
if (hvye === null) { hvye = new EdgeClass(auxt, auxh, ''); auxg.edges.push(hvye); }
|
|
197
|
-
hvye.
|
|
197
|
+
hvye.attrs.set('weight', '10000');
|
|
198
198
|
return { auxg, auxt, auxh, alg };
|
|
199
199
|
}
|
|
200
200
|
|
|
@@ -236,6 +236,9 @@ function repositionFlatAux(g: Graph, edges: Edge[], aux: FlatAux): void {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
+
const transformArrowOps = (ops: ArrowDrawOp[], del: Point, flip: boolean): ArrowDrawOp[] =>
|
|
240
|
+
ops.map(op => mapArrowOpPoints(op, p => transformf(p, del, flip)));
|
|
241
|
+
|
|
239
242
|
/** Transform the aux edge's head-arrow draw-ops onto the original edge.
|
|
240
243
|
* C regenerates the arrowhead at emit time from the spline's eflag/ep; the port
|
|
241
244
|
* pre-stashes the ops during routing. A reversed back-edge clone
|
|
@@ -245,16 +248,11 @@ function repositionFlatAux(g: Graph, edges: Edge[], aux: FlatAux): void {
|
|
|
245
248
|
* but `headArrowOps` is absent (e.g. #241_0 `3:sw->2:se`).
|
|
246
249
|
* @see lib/dotgen/dotsplines.c:make_flat_adj_edges */
|
|
247
250
|
function copyFlatArrow(orig: Edge, auxe: Edge, del: Point, flip: boolean): void {
|
|
248
|
-
const xf = (ops: ArrowDrawOp[]): ArrowDrawOp[] =>
|
|
249
|
-
ops.map(op => mapArrowOpPoints(op, p => transformf(p, del, flip)));
|
|
251
|
+
const xf = (ops: ArrowDrawOp[]): ArrowDrawOp[] => transformArrowOps(ops, del, flip);
|
|
250
252
|
const eflag = auxe.info.spl?.list[0]?.eflag;
|
|
251
|
-
// Natural head: the aux head ops; reversed-clone fallback: the tail ops stand
|
|
252
|
-
// in for the head when the swapped spline carries eflag but no head ops were
|
|
253
|
-
// stashed (#241_0 `3:sw->2:se`).
|
|
254
253
|
const head = auxe.info.headArrowOps ?? (eflag ? auxe.info.tailArrowOps : undefined);
|
|
255
254
|
if (head !== undefined) orig.info.headArrowOps = xf(head);
|
|
256
|
-
//
|
|
257
|
-
// consumed as the head above (reversed clone: no head ops + eflag).
|
|
255
|
+
// Tail arrow (dir=both / dir=back), unless consumed as the head above.
|
|
258
256
|
const tailConsumed = auxe.info.headArrowOps === undefined && eflag;
|
|
259
257
|
if (auxe.info.tailArrowOps !== undefined && !tailConsumed) {
|
|
260
258
|
orig.info.tailArrowOps = xf(auxe.info.tailArrowOps);
|
|
@@ -275,16 +273,18 @@ function copyFlatLabel(orig: Edge, auxe: Edge, del: Point, flip: boolean, g: Gra
|
|
|
275
273
|
function copyOneFlatSpline(orig: Edge, auxe: Edge, del: Point, flip: boolean, g: Graph): void {
|
|
276
274
|
const auxbz = auxe.info.spl?.list[0];
|
|
277
275
|
if (auxbz === undefined) return;
|
|
278
|
-
// Copy bz.size points, not list.length: clip lowers `size` below the
|
|
279
|
-
//
|
|
280
|
-
//
|
|
281
|
-
// "emit uses bz.size not list.length" hazard (dotsplines.c install).
|
|
276
|
+
// Copy bz.size points, not list.length: clip lowers `size` below the over-allocated
|
|
277
|
+
// `list` (an arrow-clipped head drops 7→4); list.length would append the unclipped
|
|
278
|
+
// tail. @see the "emit uses bz.size not list.length" hazard (dotsplines.c install).
|
|
282
279
|
const sz = auxbz.size;
|
|
283
280
|
const bz = newSpline(orig, sz);
|
|
284
281
|
bz.sflag = auxbz.sflag;
|
|
285
282
|
bz.eflag = auxbz.eflag;
|
|
286
283
|
bz.sp = transformf(auxbz.sp, del, flip);
|
|
287
284
|
bz.ep = transformf(auxbz.ep, del, flip);
|
|
285
|
+
// C draws a bezier's arrows from its own sp/ep, at emit: a later layout may append.
|
|
286
|
+
if (auxbz.sArrowOps) bz.sArrowOps = transformArrowOps(auxbz.sArrowOps, del, flip);
|
|
287
|
+
if (auxbz.eArrowOps) bz.eArrowOps = transformArrowOps(auxbz.eArrowOps, del, flip);
|
|
288
288
|
for (let j = 0; j < sz; j++) bz.list[j] = transformf(auxbz.list[j], del, flip);
|
|
289
289
|
// Grow the graph bb by each transformed bezier segment. @see dotsplines.c:1270
|
|
290
290
|
const bb = g.info.bb;
|
|
@@ -26,7 +26,7 @@ import { dispatchOrthoEdges } from './ortho-adapter.js';
|
|
|
26
26
|
import { routeEdgeGroups } from './splines-groups.js';
|
|
27
27
|
import { placePortLabels, placeRegularEdgeLabels, setEdgeLabelPos } from './splines-label.js';
|
|
28
28
|
import { nodesInSeq } from './decomp.js';
|
|
29
|
-
import {
|
|
29
|
+
import { agwarningf } from '../../common/agerr.js';
|
|
30
30
|
import { setState, GVSPLINES } from '../../common/layout-state.js';
|
|
31
31
|
|
|
32
32
|
// ---------------------------------------------------------------------------
|
|
@@ -476,7 +476,7 @@ function orthoDispatch(g: Graph): number {
|
|
|
476
476
|
function curvedTop(g: Graph): void {
|
|
477
477
|
resetRW(g);
|
|
478
478
|
if (((g.root.info.has_labels ?? 0) & EDGE_LABEL) !== 0) {
|
|
479
|
-
|
|
479
|
+
agwarningf('edge labels with splines=curved not supported in dot - use xlabels');
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
|
|
Binary file
|
package/src/layout/fdp/index.ts
CHANGED
|
@@ -27,7 +27,7 @@ import { fdpLayout, mkClusters } from './layout.js';
|
|
|
27
27
|
import { gdata } from './fdp-model.js';
|
|
28
28
|
import { graphInit } from '../../common/graph-init.js';
|
|
29
29
|
import { csrand } from '../../common/crand.js';
|
|
30
|
-
import {
|
|
30
|
+
import { agwarningf } from '../../common/agerr.js';
|
|
31
31
|
|
|
32
32
|
export { fdpLayout, mkClusters, evalPositions, setBB } from './layout.js';
|
|
33
33
|
export { fdpTLayout } from './tlayout.js';
|
|
@@ -94,7 +94,7 @@ function fdpSplines(g: Graph): void {
|
|
|
94
94
|
);
|
|
95
95
|
}
|
|
96
96
|
if (g.info.n_cluster_edges) { // HAS_CLUST_EDGE(g)
|
|
97
|
-
|
|
97
|
+
agwarningf(CLUSTER_EDGE_WARNING);
|
|
98
98
|
et = EDGETYPE_LINE;
|
|
99
99
|
} else {
|
|
100
100
|
splineEdges1(g, et);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [bb="0,0,143.05,175.14",
|
|
3
|
+
dim=3,
|
|
4
|
+
dimen=3,
|
|
5
|
+
model=circuit
|
|
6
|
+
];
|
|
7
|
+
node [label="\N"];
|
|
8
|
+
a [height=0.5,
|
|
9
|
+
pos="64.152,124.48,8.9018",
|
|
10
|
+
width=0.75];
|
|
11
|
+
b [height=0.5,
|
|
12
|
+
pos="88.785,157.14,-11.976",
|
|
13
|
+
width=0.75];
|
|
14
|
+
a -- b [pos="76.469,140.81 76.565,140.94 76.661,141.06 76.757,141.19"];
|
|
15
|
+
c [height=0.5,
|
|
16
|
+
pos="100,128.52,21.795",
|
|
17
|
+
width=0.75];
|
|
18
|
+
a -- c [pos="90.955,127.5 91.117,127.52 91.278,127.54 91.437,127.56"];
|
|
19
|
+
b -- c [pos="95.697,139.5 95.733,139.41 95.769,139.32 95.805,139.23"];
|
|
20
|
+
d [height=0.5,
|
|
21
|
+
pos="116.05,80.993,16.095",
|
|
22
|
+
width=0.75];
|
|
23
|
+
c -- d [pos="106.07,110.55 107.35,106.77 108.7,102.77 109.98,98.988"];
|
|
24
|
+
e [height=0.5,
|
|
25
|
+
pos="68.234,74.355,-4.1283",
|
|
26
|
+
width=0.75];
|
|
27
|
+
d -- e [pos="89.348,77.286 89.262,77.274 89.176,77.262 89.091,77.25"];
|
|
28
|
+
e -- a [pos="66.738,92.736 66.383,97.094 66.004,101.74 65.649,106.1"];
|
|
29
|
+
f [height=0.5,
|
|
30
|
+
pos="27,18,-30.687",
|
|
31
|
+
width=0.75];
|
|
32
|
+
e -- f [pos="56.308,58.055 50.885,50.643 44.48,41.89 39.043,34.459"];
|
|
33
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 175.14 143.05 175.14 143.05 0 ",
|
|
3
|
+
bb="0,0,143.05,175.14",
|
|
4
|
+
dim=3,
|
|
5
|
+
dimen=3,
|
|
6
|
+
model=circuit,
|
|
7
|
+
xdotversion=1.7
|
|
8
|
+
];
|
|
9
|
+
node [label="\N"];
|
|
10
|
+
a [_draw_="c 7 -#000000 e 64.15 124.48 27 18 ",
|
|
11
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 64.15 120.28 0 6.21 1 -a ",
|
|
12
|
+
height=0.5,
|
|
13
|
+
pos="64.152,124.48,8.9018",
|
|
14
|
+
width=0.75];
|
|
15
|
+
b [_draw_="c 7 -#000000 e 88.78 157.14 27 18 ",
|
|
16
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 88.78 152.94 0 7 1 -b ",
|
|
17
|
+
height=0.5,
|
|
18
|
+
pos="88.785,157.14,-11.976",
|
|
19
|
+
width=0.75];
|
|
20
|
+
a -- b [_draw_="c 7 -#000000 B 4 76.47 140.81 76.56 140.94 76.66 141.06 76.76 141.19 ",
|
|
21
|
+
pos="76.469,140.81 76.565,140.94 76.661,141.06 76.757,141.19"];
|
|
22
|
+
c [_draw_="c 7 -#000000 e 100 128.52 27 18 ",
|
|
23
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 100 124.32 0 6.21 1 -c ",
|
|
24
|
+
height=0.5,
|
|
25
|
+
pos="100,128.52,21.795",
|
|
26
|
+
width=0.75];
|
|
27
|
+
a -- c [_draw_="c 7 -#000000 B 4 90.95 127.5 91.12 127.52 91.28 127.54 91.44 127.56 ",
|
|
28
|
+
pos="90.955,127.5 91.117,127.52 91.278,127.54 91.437,127.56"];
|
|
29
|
+
b -- c [_draw_="c 7 -#000000 B 4 95.7 139.5 95.73 139.41 95.77 139.32 95.8 139.23 ",
|
|
30
|
+
pos="95.697,139.5 95.733,139.41 95.769,139.32 95.805,139.23"];
|
|
31
|
+
d [_draw_="c 7 -#000000 e 116.05 80.99 27 18 ",
|
|
32
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 116.05 76.79 0 7 1 -d ",
|
|
33
|
+
height=0.5,
|
|
34
|
+
pos="116.05,80.993,16.095",
|
|
35
|
+
width=0.75];
|
|
36
|
+
c -- d [_draw_="c 7 -#000000 B 4 106.07 110.55 107.35 106.77 108.7 102.77 109.98 98.99 ",
|
|
37
|
+
pos="106.07,110.55 107.35,106.77 108.7,102.77 109.98,98.988"];
|
|
38
|
+
e [_draw_="c 7 -#000000 e 68.23 74.36 27 18 ",
|
|
39
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 68.23 70.16 0 6.21 1 -e ",
|
|
40
|
+
height=0.5,
|
|
41
|
+
pos="68.234,74.355,-4.1283",
|
|
42
|
+
width=0.75];
|
|
43
|
+
d -- e [_draw_="c 7 -#000000 B 4 89.35 77.29 89.26 77.27 89.18 77.26 89.09 77.25 ",
|
|
44
|
+
pos="89.348,77.286 89.262,77.274 89.176,77.262 89.091,77.25"];
|
|
45
|
+
e -- a [_draw_="c 7 -#000000 B 4 66.74 92.74 66.38 97.09 66 101.74 65.65 106.1 ",
|
|
46
|
+
pos="66.738,92.736 66.383,97.094 66.004,101.74 65.649,106.1"];
|
|
47
|
+
f [_draw_="c 7 -#000000 e 27 18 27 18 ",
|
|
48
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 27 13.8 0 4.66 1 -f ",
|
|
49
|
+
height=0.5,
|
|
50
|
+
pos="27,18,-30.687",
|
|
51
|
+
width=0.75];
|
|
52
|
+
e -- f [_draw_="c 7 -#000000 B 4 56.31 58.05 50.88 50.64 44.48 41.89 39.04 34.46 ",
|
|
53
|
+
pos="56.308,58.055 50.885,50.643 44.48,41.89 39.043,34.459"];
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [bb="0,0,106.19,71.931",
|
|
3
|
+
dim=11,
|
|
4
|
+
dimen=11
|
|
5
|
+
];
|
|
6
|
+
node [label="\N"];
|
|
7
|
+
a [height=0.5,
|
|
8
|
+
pos="27.613,50.111,-6.6209,3.7861,15.307,-25.234,1.9897,3.3857,14.819,-12.491",
|
|
9
|
+
width=0.75];
|
|
10
|
+
b [height=0.5,
|
|
11
|
+
pos="27,53.931,-46.364,-37.009,43.418,-53.139,-1.4019,-9.0868,5.2877,-25.047",
|
|
12
|
+
width=0.75];
|
|
13
|
+
a -- b [pos="27.026,53.767 27.018,53.819 27.011,53.86 27.007,53.888"];
|
|
14
|
+
c [height=0.5,
|
|
15
|
+
pos="54.209,31.362,-35.912,-38.546,21.75,-23.788,-7.5048,6.9928,-28.042,8.9821",
|
|
16
|
+
width=0.75];
|
|
17
|
+
a -- c [pos="46.373,36.886 46.511,36.789 46.647,36.693 46.783,36.597"];
|
|
18
|
+
b -- c [pos="44.077,39.766 44.163,39.695 44.248,39.624 44.333,39.554"];
|
|
19
|
+
d [height=0.5,
|
|
20
|
+
pos="79.193,18,-2.9063,-18.419,-14.051,24.878,-7.2723,4.9672,-34.63,25.722",
|
|
21
|
+
width=0.75];
|
|
22
|
+
c -- d [pos="75.719,19.858 75.85,19.788 75.978,19.719 76.104,19.652"];
|
|
23
|
+
e [height=0.5,
|
|
24
|
+
pos="52.815,36.635,26.299,24.207,-20.22,23.382,2.8304,0.66155,8.7884,3.7427",
|
|
25
|
+
width=0.75];
|
|
26
|
+
d -- e [pos="60.304,31.345 60.171,31.438 60.04,31.531 59.91,31.623"];
|
|
27
|
+
e -- a [pos="31.551,48.005 31.403,48.084 31.259,48.162 31.117,48.237"];
|
|
28
|
+
f [height=0.5,
|
|
29
|
+
pos="55.075,37.375,65.505,65.981,-46.203,53.901,11.359,-6.9205,33.776,-0.90883",
|
|
30
|
+
width=0.75];
|
|
31
|
+
e -- f [pos="54.978,37.343 55.009,37.353 55.033,37.361 55.05,37.366"];
|
|
32
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 71.93 106.19 71.93 106.19 0 ",
|
|
3
|
+
bb="0,0,106.19,71.931",
|
|
4
|
+
dim=11,
|
|
5
|
+
dimen=11,
|
|
6
|
+
xdotversion=1.7
|
|
7
|
+
];
|
|
8
|
+
node [label="\N"];
|
|
9
|
+
a [_draw_="c 7 -#000000 e 27.61 50.11 27 18 ",
|
|
10
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 27.61 45.91 0 6.21 1 -a ",
|
|
11
|
+
height=0.5,
|
|
12
|
+
pos="27.613,50.111,-6.6209,3.7861,15.307,-25.234,1.9897,3.3857,14.819,-12.491",
|
|
13
|
+
width=0.75];
|
|
14
|
+
b [_draw_="c 7 -#000000 e 27 53.93 27 18 ",
|
|
15
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 27 49.73 0 7 1 -b ",
|
|
16
|
+
height=0.5,
|
|
17
|
+
pos="27,53.931,-46.364,-37.009,43.418,-53.139,-1.4019,-9.0868,5.2877,-25.047",
|
|
18
|
+
width=0.75];
|
|
19
|
+
a -- b [_draw_="c 7 -#000000 B 4 27.03 53.77 27.02 53.82 27.01 53.86 27.01 53.89 ",
|
|
20
|
+
pos="27.026,53.767 27.018,53.819 27.011,53.86 27.007,53.888"];
|
|
21
|
+
c [_draw_="c 7 -#000000 e 54.21 31.36 27 18 ",
|
|
22
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 54.21 27.16 0 6.21 1 -c ",
|
|
23
|
+
height=0.5,
|
|
24
|
+
pos="54.209,31.362,-35.912,-38.546,21.75,-23.788,-7.5048,6.9928,-28.042,8.9821",
|
|
25
|
+
width=0.75];
|
|
26
|
+
a -- c [_draw_="c 7 -#000000 B 4 46.37 36.89 46.51 36.79 46.65 36.69 46.78 36.6 ",
|
|
27
|
+
pos="46.373,36.886 46.511,36.789 46.647,36.693 46.783,36.597"];
|
|
28
|
+
b -- c [_draw_="c 7 -#000000 B 4 44.08 39.77 44.16 39.7 44.25 39.62 44.33 39.55 ",
|
|
29
|
+
pos="44.077,39.766 44.163,39.695 44.248,39.624 44.333,39.554"];
|
|
30
|
+
d [_draw_="c 7 -#000000 e 79.19 18 27 18 ",
|
|
31
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 79.19 13.8 0 7 1 -d ",
|
|
32
|
+
height=0.5,
|
|
33
|
+
pos="79.193,18,-2.9063,-18.419,-14.051,24.878,-7.2723,4.9672,-34.63,25.722",
|
|
34
|
+
width=0.75];
|
|
35
|
+
c -- d [_draw_="c 7 -#000000 B 4 75.72 19.86 75.85 19.79 75.98 19.72 76.1 19.65 ",
|
|
36
|
+
pos="75.719,19.858 75.85,19.788 75.978,19.719 76.104,19.652"];
|
|
37
|
+
e [_draw_="c 7 -#000000 e 52.82 36.64 27 18 ",
|
|
38
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 52.82 32.44 0 6.21 1 -e ",
|
|
39
|
+
height=0.5,
|
|
40
|
+
pos="52.815,36.635,26.299,24.207,-20.22,23.382,2.8304,0.66155,8.7884,3.7427",
|
|
41
|
+
width=0.75];
|
|
42
|
+
d -- e [_draw_="c 7 -#000000 B 4 60.3 31.34 60.17 31.44 60.04 31.53 59.91 31.62 ",
|
|
43
|
+
pos="60.304,31.345 60.171,31.438 60.04,31.531 59.91,31.623"];
|
|
44
|
+
e -- a [_draw_="c 7 -#000000 B 4 31.55 48.01 31.4 48.08 31.26 48.16 31.12 48.24 ",
|
|
45
|
+
pos="31.551,48.005 31.403,48.084 31.259,48.162 31.117,48.237"];
|
|
46
|
+
f [_draw_="c 7 -#000000 e 55.08 37.37 27 18 ",
|
|
47
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 55.08 33.17 0 4.66 1 -f ",
|
|
48
|
+
height=0.5,
|
|
49
|
+
pos="55.075,37.375,65.505,65.981,-46.203,53.901,11.359,-6.9205,33.776,-0.90883",
|
|
50
|
+
width=0.75];
|
|
51
|
+
e -- f [_draw_="c 7 -#000000 B 4 54.98 37.34 55.01 37.35 55.03 37.36 55.05 37.37 ",
|
|
52
|
+
pos="54.978,37.343 55.009,37.353 55.033,37.361 55.05,37.366"];
|
|
53
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [bb="0,0,162.6,240.7",
|
|
3
|
+
dim=3,
|
|
4
|
+
dimen=3
|
|
5
|
+
];
|
|
6
|
+
node [label="\N"];
|
|
7
|
+
a [height=0.5,
|
|
8
|
+
pos="52.001,159.72,-7.2571",
|
|
9
|
+
width=0.75];
|
|
10
|
+
b [height=0.5,
|
|
11
|
+
pos="83.811,222.7,-23.86",
|
|
12
|
+
width=0.75];
|
|
13
|
+
a -- b [pos="60.693,176.93 65.182,185.82 70.643,196.63 75.13,205.51"];
|
|
14
|
+
c [height=0.5,
|
|
15
|
+
pos="123.54,179.17,18.417",
|
|
16
|
+
width=0.75];
|
|
17
|
+
a -- c [pos="77.424,166.63 84.171,168.47 91.456,170.45 98.198,172.28"];
|
|
18
|
+
b -- c [pos="98.154,206.99 101.8,202.99 105.71,198.7 109.35,194.72"];
|
|
19
|
+
d [height=0.5,
|
|
20
|
+
pos="135.6,101.36,27.1",
|
|
21
|
+
width=0.75];
|
|
22
|
+
c -- d [pos="126.34,161.12 128.27,148.64 130.84,132.09 132.78,119.58"];
|
|
23
|
+
e [height=0.5,
|
|
24
|
+
pos="63.798,81.898,0.43985",
|
|
25
|
+
width=0.75];
|
|
26
|
+
d -- e [pos="110.49,94.551 103.53,92.666 95.98,90.62 89.018,88.733"];
|
|
27
|
+
e -- a [pos="61.062,99.947 59.17,112.43 56.661,128.98 54.763,141.5"];
|
|
28
|
+
f [height=0.5,
|
|
29
|
+
pos="27,18,-14.84",
|
|
30
|
+
width=0.75];
|
|
31
|
+
e -- f [pos="53.937,64.775 48.657,55.607 42.172,44.346 36.888,35.171"];
|
|
32
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [_draw_="c 9 -#fffffe00 C 7 -#ffffff P 4 0 0 0 240.7 162.6 240.7 162.6 0 ",
|
|
3
|
+
bb="0,0,162.6,240.7",
|
|
4
|
+
dim=3,
|
|
5
|
+
dimen=3,
|
|
6
|
+
xdotversion=1.7
|
|
7
|
+
];
|
|
8
|
+
node [label="\N"];
|
|
9
|
+
a [_draw_="c 7 -#000000 e 52 159.72 27 18 ",
|
|
10
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 52 155.52 0 6.21 1 -a ",
|
|
11
|
+
height=0.5,
|
|
12
|
+
pos="52.001,159.72,-7.2571",
|
|
13
|
+
width=0.75];
|
|
14
|
+
b [_draw_="c 7 -#000000 e 83.81 222.7 27 18 ",
|
|
15
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 83.81 218.5 0 7 1 -b ",
|
|
16
|
+
height=0.5,
|
|
17
|
+
pos="83.811,222.7,-23.86",
|
|
18
|
+
width=0.75];
|
|
19
|
+
a -- b [_draw_="c 7 -#000000 B 4 60.69 176.93 65.18 185.82 70.64 196.63 75.13 205.51 ",
|
|
20
|
+
pos="60.693,176.93 65.182,185.82 70.643,196.63 75.13,205.51"];
|
|
21
|
+
c [_draw_="c 7 -#000000 e 123.54 179.17 27 18 ",
|
|
22
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 123.54 174.97 0 6.21 1 -c ",
|
|
23
|
+
height=0.5,
|
|
24
|
+
pos="123.54,179.17,18.417",
|
|
25
|
+
width=0.75];
|
|
26
|
+
a -- c [_draw_="c 7 -#000000 B 4 77.42 166.63 84.17 168.47 91.46 170.45 98.2 172.28 ",
|
|
27
|
+
pos="77.424,166.63 84.171,168.47 91.456,170.45 98.198,172.28"];
|
|
28
|
+
b -- c [_draw_="c 7 -#000000 B 4 98.15 206.99 101.8 202.99 105.71 198.7 109.35 194.72 ",
|
|
29
|
+
pos="98.154,206.99 101.8,202.99 105.71,198.7 109.35,194.72"];
|
|
30
|
+
d [_draw_="c 7 -#000000 e 135.6 101.36 27 18 ",
|
|
31
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 135.6 97.16 0 7 1 -d ",
|
|
32
|
+
height=0.5,
|
|
33
|
+
pos="135.6,101.36,27.1",
|
|
34
|
+
width=0.75];
|
|
35
|
+
c -- d [_draw_="c 7 -#000000 B 4 126.34 161.12 128.27 148.64 130.84 132.09 132.78 119.58 ",
|
|
36
|
+
pos="126.34,161.12 128.27,148.64 130.84,132.09 132.78,119.58"];
|
|
37
|
+
e [_draw_="c 7 -#000000 e 63.8 81.9 27 18 ",
|
|
38
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 63.8 77.7 0 6.21 1 -e ",
|
|
39
|
+
height=0.5,
|
|
40
|
+
pos="63.798,81.898,0.43985",
|
|
41
|
+
width=0.75];
|
|
42
|
+
d -- e [_draw_="c 7 -#000000 B 4 110.49 94.55 103.53 92.67 95.98 90.62 89.02 88.73 ",
|
|
43
|
+
pos="110.49,94.551 103.53,92.666 95.98,90.62 89.018,88.733"];
|
|
44
|
+
e -- a [_draw_="c 7 -#000000 B 4 61.06 99.95 59.17 112.43 56.66 128.98 54.76 141.5 ",
|
|
45
|
+
pos="61.062,99.947 59.17,112.43 56.661,128.98 54.763,141.5"];
|
|
46
|
+
f [_draw_="c 7 -#000000 e 27 18 27 18 ",
|
|
47
|
+
_ldraw_="F 14 11 -Times-Roman c 7 -#000000 T 27 13.8 0 4.66 1 -f ",
|
|
48
|
+
height=0.5,
|
|
49
|
+
pos="27,18,-14.84",
|
|
50
|
+
width=0.75];
|
|
51
|
+
e -- f [_draw_="c 7 -#000000 B 4 53.94 64.77 48.66 55.61 42.17 44.35 36.89 35.17 ",
|
|
52
|
+
pos="53.937,64.775 48.657,55.607 42.172,44.346 36.888,35.171"];
|
|
53
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
graph G {
|
|
2
|
+
graph [bb="0,0,162.6,240.7",
|
|
3
|
+
dim=3
|
|
4
|
+
];
|
|
5
|
+
node [label="\N"];
|
|
6
|
+
a [height=0.5,
|
|
7
|
+
pos="52.001,159.72",
|
|
8
|
+
width=0.75];
|
|
9
|
+
b [height=0.5,
|
|
10
|
+
pos="83.811,222.7",
|
|
11
|
+
width=0.75];
|
|
12
|
+
a -- b [pos="60.693,176.93 65.182,185.82 70.643,196.63 75.13,205.51"];
|
|
13
|
+
c [height=0.5,
|
|
14
|
+
pos="123.54,179.17",
|
|
15
|
+
width=0.75];
|
|
16
|
+
a -- c [pos="77.424,166.63 84.171,168.47 91.456,170.45 98.198,172.28"];
|
|
17
|
+
b -- c [pos="98.154,206.99 101.8,202.99 105.71,198.7 109.35,194.72"];
|
|
18
|
+
d [height=0.5,
|
|
19
|
+
pos="135.6,101.36",
|
|
20
|
+
width=0.75];
|
|
21
|
+
c -- d [pos="126.34,161.12 128.27,148.64 130.84,132.09 132.78,119.58"];
|
|
22
|
+
e [height=0.5,
|
|
23
|
+
pos="63.798,81.898",
|
|
24
|
+
width=0.75];
|
|
25
|
+
d -- e [pos="110.49,94.551 103.53,92.666 95.98,90.62 89.018,88.733"];
|
|
26
|
+
e -- a [pos="61.062,99.947 59.17,112.43 56.661,128.98 54.763,141.5"];
|
|
27
|
+
f [height=0.5,
|
|
28
|
+
pos="27,18",
|
|
29
|
+
width=0.75];
|
|
30
|
+
e -- f [pos="53.937,64.775 48.657,55.607 42.172,44.346 36.888,35.171"];
|
|
31
|
+
}
|
|
File without changes
|