Colorize arrows with viability rating

main
Jeff Moe 2022-08-14 15:35:57 -06:00
parent 6619fc36ce
commit 71e0ebdcba
1 changed files with 10 additions and 10 deletions

20
SNOPO
View File

@ -141,7 +141,7 @@ with g.subgraph(name="cluster_acquire") as a:
c.node_attr["style"] = "filled"
c.node("n_sattools_vacquire", label="sattools/UNKNOWN-vid-get.sh")
c.node("n_stvid_acquire", label="stvid/acquire.py")
c.edge("n_sattools", "n_sattools_vacquire", color=good_color)
c.edge("n_sattools", "n_sattools_vacquire", color=ok_color)
c.edge("n_stvid", "n_stvid_acquire", color=good_color)
c.attr(label="Video\nSample")
@ -156,15 +156,15 @@ with g.subgraph(name="cluster_platesolver") as a:
b.node("n_stphot_plate", label="stphot/UNKNOWN-find.py")
b.node("n_asm_plate", label="asm/UNKNOWN-find")
b.edge("n_sattools_cacquire", "n_sattools_cplate", color=good_color)
b.edge("n_stphot_acquire", "n_stphot_plate", color=good_color)
b.edge("n_asm_acquire", "n_asm_plate", color=good_color)
b.edge("n_stphot_acquire", "n_stphot_plate", color=bad_color)
b.edge("n_asm_acquire", "n_asm_plate", color=bad_color)
b.attr(label="Camera\nPlate Solver")
with a.subgraph(name="cluster_video_platesolver") as c:
c.attr(color="pink")
c.node_attr["style"] = "filled"
c.node("n_sattools_vplate", label="sattools/UNKNOWN-vid-find.sh")
c.node("n_stvid_plate", label="stvid/process.py")
c.edge("n_sattools_vacquire", "n_sattools_vplate", color=good_color)
c.edge("n_sattools_vacquire", "n_sattools_vplate", color=ok_color)
c.edge("n_stvid_acquire", "n_stvid_plate", color=good_color)
c.attr(label="Video\nPlate Solver")
@ -178,15 +178,15 @@ with g.subgraph(name="cluster_satdetect") as a:
b.node("n_stphot_detect", label="stphot/UNKNOWN-detect.py")
b.node("n_asm_detect", label="asm/UNKNOWN-detect")
b.edge("n_sattools_cplate", "n_sattools_cdetect", color=good_color)
b.edge("n_stphot_plate", "n_stphot_detect", color=good_color)
b.edge("n_asm_plate", "n_asm_detect", color=good_color)
b.edge("n_stphot_plate", "n_stphot_detect", color=bad_color)
b.edge("n_asm_plate", "n_asm_detect", color=bad_color)
b.attr(label="Camera\nDetect Satellites")
with a.subgraph(name="cluster_video_satdetect") as c:
c.attr(color="tan")
c.node_attr["style"] = "filled"
c.node("n_sattools_vdetect", label="sattools/UNKNOWN-vid-detect.sh")
c.node("n_stvid_detect", label="stvid/process.py")
c.edge("n_sattools_vplate", "n_sattools_vdetect", color=good_color)
c.edge("n_sattools_vplate", "n_sattools_vdetect", color=ok_color)
c.edge("n_stvid_plate", "n_stvid_detect", color=good_color)
c.attr(label="Video\nDetect Satellites")
@ -200,15 +200,15 @@ with g.subgraph(name="cluster_satid") as a:
b.node("n_stphot_id", label="stphot/UNKNOWN-id.py")
b.node("n_asm_id", label="asm/UNKNOWN-id")
b.edge("n_sattools_cdetect", "n_sattools_cid", color=good_color)
b.edge("n_stphot_detect", "n_stphot_id", color=good_color)
b.edge("n_asm_detect", "n_asm_id", color=good_color)
b.edge("n_stphot_detect", "n_stphot_id", color=bad_color)
b.edge("n_asm_detect", "n_asm_id", color=bad_color)
b.attr(label="Camera\nID Satellite")
with a.subgraph(name="cluster_video_satid") as c:
c.attr(color="tan")
c.node_attr["style"] = "filled"
c.node("n_sattools_vid", label="sattools/UNKNOWN-vid-id.sh")
c.node("n_stvid_id", label="stvid/process.py")
c.edge("n_sattools_vdetect", "n_sattools_vid", color=good_color)
c.edge("n_sattools_vdetect", "n_sattools_vid", color=ok_color)
c.edge("n_stvid_detect", "n_stvid_id", color=good_color)
c.attr(label="Video\nID Satellite")