Layout, colors, labels

main
Jeff Moe 2022-08-14 16:29:53 -06:00
parent ca47491452
commit 79847f26ad
1 changed files with 35 additions and 35 deletions

70
SNOPO
View File

@ -54,10 +54,10 @@ with g.subgraph(name="cluster_hardware") as a:
a.attr(label="Hardware\nChoose One")
with a.subgraph(name="cluster_video") as b:
b.attr(style="filled", color="cornsilk", label="Motion Video Cameras")
b.node_attr.update(style="filled", color="darkkhaki", shape="tripleoctagon")
b.node_attr.update(style="filled", color="darkkhaki", shape="rect")
b.node("n_uvc", label="UVC")
b.node("n_cv", label="OpenCV")
b.node("n_pi", label="Raspberry Pi")
b.node("n_pi", label="Raspberry\nPi")
b.node("n_asi", label="ZWO ASI")
b.edge("n_uvc", "n_video", color=good_color)
b.edge("n_cv", "n_video", color=good_color)
@ -74,7 +74,7 @@ with g.subgraph(name="cluster_hardware") as a:
c.node_attr.update(
style="filled",
color="midnightblue",
shape="doubleoctagon",
shape="rect",
fontcolor="white",
)
c.node("n_gphoto", label="gphoto2")
@ -90,10 +90,10 @@ with g.subgraph(name="cluster_hardware") as a:
style="filled", color="plum2", label="Allsky Cameras", fontcolor="black"
)
d.node_attr.update(
style="filled", color="seashell2", shape="octagon", fontcolor="black"
style="filled", color="seashell2", shape="rect", fontcolor="black"
)
d.node("n_asi_allsky", label="ZWO ASI Allsky")
d.node("n_oculus", label="Starlight Xpress Oculus")
d.node("n_asi_allsky", label="ZWO ASI\nAllsky")
d.node("n_oculus", label="Starlight\nXpress\nOculus")
d.node("n_indi_allsky", label="INDI Allsky")
d.edge("n_asi_allsky", "n_allsky", color=good_color)
d.edge("n_oculus", "n_allsky", color=good_color)
@ -116,7 +116,7 @@ with g.subgraph(name="cluster_repository") as a:
b.edge("n_allsky", "n_asm", color=good_color)
b.attr(label="Development\nPython")
with a.subgraph(name="cluster_c_software") as c:
c.attr(color="tan")
c.attr(color="palevioletred4")
c.node_attr.update(style="filled", color="lightsteelblue1", shape="rect")
c.node_attr["style"] = "filled"
c.node("n_sattools", label="sattools")
@ -131,19 +131,19 @@ with g.subgraph(name="cluster_acquire") as a:
b.attr(color="lightblue")
b.node_attr.update(style="filled", color="wheat3", shape="rect")
b.node(
"n_sattools_cacquire", label="sattools/scripts/get.sh\ngphoto2\njpg2fits"
"n_sattools_cacquire", label="sattools\nget.sh\ngphoto2\njpg2fits"
)
b.node("n_stphot_acquire", label="stphot/acquire.py")
b.node("n_asm_acquire", label="asm/capture")
b.node("n_stphot_acquire", label="stphot\nacquire.py")
b.node("n_asm_acquire", label="asm\ncapture")
b.edge("n_sattools", "n_sattools_cacquire", color=good_color)
b.edge("n_stphot", "n_stphot_acquire", color=good_color)
b.edge("n_asm", "n_asm_acquire", color=good_color)
b.attr(label="Camera\nSample")
with a.subgraph(name="cluster_video_acquire") as c:
c.attr(color="tan")
c.attr(color="olivedrab3")
c.node_attr.update(style="filled", color="plum", shape="rect")
c.node("n_sattools_vacquire", label="sattools/UNKNOWN-vid-get.sh")
c.node("n_stvid_acquire", label="stvid/acquire.py")
c.node("n_sattools_vacquire", label="sattools\nUNKNOWN")
c.node("n_stvid_acquire", label="stvid\nacquire.py")
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")
@ -155,18 +155,18 @@ with g.subgraph(name="cluster_platesolver") as a:
with a.subgraph(name="cluster_camera_plate_solver") as b:
b.attr(color="lightblue")
b.node_attr.update(style="filled", color="silver", shape="rect")
b.node("n_sattools_cplate", label="sattools/scripts/find.sh\nsource-extractor")
b.node("n_stphot_plate", label="stphot/UNKNOWN-find.py")
b.node("n_asm_plate", label="asm/UNKNOWN-find")
b.node("n_sattools_cplate", label="sattools\nfind.sh\nsource-extractor")
b.node("n_stphot_plate", label="stphot\nUNKNOWN")
b.node("n_asm_plate", label="asm\nUNKNOWN")
b.edge("n_sattools_cacquire", "n_sattools_cplate", 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.attr(color="goldenrod3")
c.node_attr.update(style="filled", color="paleturquoise3", shape="rect")
c.node("n_sattools_vplate", label="sattools/UNKNOWN-vid-find.sh")
c.node("n_stvid_plate", label="stvid/process.py")
c.node("n_sattools_vplate", label="sattools\nUNKNOWN")
c.node("n_stvid_plate", label="stvid\nprocess.py")
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")
@ -175,42 +175,42 @@ with g.subgraph(name="cluster_satdetect") as a:
a.attr(style="filled", color="lightblue", label="satdetect")
a.attr(label="Detect Satellites")
with a.subgraph(name="cluster_camera_satdetect") as b:
b.attr(color="tan")
b.attr(color="khaki2")
b.node_attr.update(style="filled", color="olivedrab3", shape="rect")
b.node("n_sattools_cdetect", label="sattools/scripts/id.sh\naddwcs\nsatid")
b.node("n_stphot_detect", label="stphot/UNKNOWN-detect.py")
b.node("n_asm_detect", label="asm/UNKNOWN-detect")
b.node("n_sattools_cdetect", label="sattools\nid.sh\naddwcs\nsatid")
b.node("n_stphot_detect", label="stphot\nUNKNOWN")
b.node("n_asm_detect", label="asm\nUNKNOWN")
b.edge("n_sattools_cplate", "n_sattools_cdetect", 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.attr(color="aquamarine4")
c.node_attr.update(style="filled", color="ivory2", shape="rect")
c.node("n_sattools_vdetect", label="sattools/UNKNOWN-vid-detect.sh")
c.node("n_stvid_detect", label="stvid/process.py")
c.node("n_sattools_vdetect", label="sattools\nUNKNOWN")
c.node("n_stvid_detect", label="stvid\nprocess.py")
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")
with g.subgraph(name="cluster_satid") as a:
a.attr(style="filled", color="lightblue", label="satid")
a.attr(style="filled", color="darkseagreen4", label="satid")
a.attr(label="Identify Satellites")
with a.subgraph(name="cluster_camera_satid") as b:
b.attr(color="tan")
b.attr(color="yellow3")
b.node_attr.update(style="filled", color="darkseagreen3", shape="rect")
b.node("n_sattools_cid", label="sattools/scripts/id.sh\naddwcs\nsatid")
b.node("n_stphot_id", label="stphot/UNKNOWN-id.py")
b.node("n_asm_id", label="asm/UNKNOWN-id")
b.node("n_sattools_cid", label="sattools\nid.sh\naddwcs\nsatid")
b.node("n_stphot_id", label="stphot\nUNKNOWN")
b.node("n_asm_id", label="asm\nUNKNOWN")
b.edge("n_sattools_cdetect", "n_sattools_cid", 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.update(style="filled", color="cornsilk3", shape="rect")
c.node("n_sattools_vid", label="sattools/UNKNOWN-vid-id.sh")
c.node("n_stvid_id", label="stvid/process.py")
c.attr(color="thistle")
c.node_attr.update(style="filled", color="steelblue", shape="rect")
c.node("n_sattools_vid", label="sattools\nUNKNOWN")
c.node("n_stvid_id", label="stvid\nprocess.py")
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")