summaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/networkx/drawing/__pycache__/nx_latex.cpython-312.pyc
blob: ab5168261946d6dc9a2efd7cf761c0f17e5a04cd (plain)
ofshex dumpascii
0000 cb 0d 0d 0a 00 00 00 00 85 fa a7 68 0e 61 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 12 00 00 ...........h.a..................
0020 00 00 00 00 00 f3 ec 00 00 00 97 00 64 00 5a 00 64 01 64 02 6c 01 5a 02 67 00 64 03 a2 01 5a 03 ............d.Z.d.d.l.Z.g.d...Z.
0040 65 02 6a 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6a 0b 00 00 00 00 00 00 00 00 e.j...................j.........
0060 00 00 00 00 00 00 00 00 00 00 64 04 ab 01 00 00 00 00 00 00 09 00 09 00 09 00 09 00 09 00 09 00 ..........d.....................
0080 09 00 09 00 09 00 64 16 64 0a 84 01 ab 00 00 00 00 00 00 00 5a 06 64 0b 5a 07 64 0c 5a 08 64 0d ......d.d...........Z.d.Z.d.Z.d.
00a0 5a 09 64 05 64 06 64 06 64 07 64 0e 64 06 64 08 64 0f 64 09 64 06 64 06 64 02 64 02 64 10 64 11 Z.d.d.d.d.d.d.d.d.d.d.d.d.d.d.d.
00c0 65 07 65 08 65 09 66 12 64 12 84 01 5a 0a 65 02 6a 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e.e.e.f.d...Z.e.j...............
00e0 00 00 00 00 6a 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 10 64 13 ac 14 ab 02 ....j...................d.d.....
0100 00 00 00 00 00 00 64 15 84 00 ab 00 00 00 00 00 00 00 5a 0c 79 02 29 17 61 44 13 00 00 0a 2a 2a ......d...........Z.y.).aD....**
0120 2a 2a 2a 0a 4c 61 54 65 58 0a 2a 2a 2a 2a 2a 0a 0a 45 78 70 6f 72 74 20 4e 65 74 77 6f 72 6b 58 ***.LaTeX.*****..Export.NetworkX
0140 20 67 72 61 70 68 73 20 69 6e 20 4c 61 54 65 58 20 66 6f 72 6d 61 74 20 75 73 69 6e 67 20 74 68 .graphs.in.LaTeX.format.using.th
0160 65 20 54 69 6b 5a 20 6c 69 62 72 61 72 79 20 77 69 74 68 69 6e 20 54 65 58 2f 4c 61 54 65 58 2e e.TikZ.library.within.TeX/LaTeX.
0180 0a 55 73 75 61 6c 6c 79 2c 20 79 6f 75 20 77 69 6c 6c 20 77 61 6e 74 20 74 68 65 20 64 72 61 77 .Usually,.you.will.want.the.draw
01a0 69 6e 67 20 74 6f 20 61 70 70 65 61 72 20 69 6e 20 61 20 66 69 67 75 72 65 20 65 6e 76 69 72 6f ing.to.appear.in.a.figure.enviro
01c0 6e 6d 65 6e 74 20 73 6f 0a 79 6f 75 20 75 73 65 20 60 60 74 6f 5f 6c 61 74 65 78 28 47 2c 20 63 nment.so.you.use.``to_latex(G,.c
01e0 61 70 74 69 6f 6e 3d 22 41 20 63 61 70 74 69 6f 6e 22 29 60 60 2e 20 49 66 20 79 6f 75 20 77 61 aption="A.caption")``..If.you.wa
0200 6e 74 20 74 68 65 20 72 61 77 0a 64 72 61 77 69 6e 67 20 63 6f 6d 6d 61 6e 64 73 20 77 69 74 68 nt.the.raw.drawing.commands.with
0220 6f 75 74 20 61 20 66 69 67 75 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 75 73 65 20 3a 66 75 out.a.figure.environment.use.:fu
0240 6e 63 3a 60 74 6f 5f 6c 61 74 65 78 5f 72 61 77 60 2e 0a 41 6e 64 20 69 66 20 79 6f 75 20 77 61 nc:`to_latex_raw`..And.if.you.wa
0260 6e 74 20 74 6f 20 77 72 69 74 65 20 74 6f 20 61 20 66 69 6c 65 20 69 6e 73 74 65 61 64 20 6f 66 nt.to.write.to.a.file.instead.of
0280 20 6a 75 73 74 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 20 6c 61 74 65 78 0a 63 6f 64 65 20 61 .just.returning.the.latex.code.a
02a0 73 20 61 20 73 74 72 69 6e 67 2c 20 75 73 65 20 60 60 77 72 69 74 65 5f 6c 61 74 65 78 28 47 2c s.a.string,.use.``write_latex(G,
02c0 20 22 66 69 6c 65 6e 61 6d 65 2e 74 65 78 22 2c 20 63 61 70 74 69 6f 6e 3d 22 41 20 63 61 70 74 ."filename.tex",.caption="A.capt
02e0 69 6f 6e 22 29 60 60 2e 0a 0a 54 6f 20 63 6f 6e 73 74 72 75 63 74 20 61 20 66 69 67 75 72 65 20 ion")``...To.construct.a.figure.
0300 77 69 74 68 20 73 75 62 66 69 67 75 72 65 73 20 66 6f 72 20 65 61 63 68 20 67 72 61 70 68 20 74 with.subfigures.for.each.graph.t
0320 6f 20 62 65 20 73 68 6f 77 6e 2c 20 70 72 6f 76 69 64 65 0a 60 60 74 6f 5f 6c 61 74 65 78 60 60 o.be.shown,.provide.``to_latex``
0340 20 6f 72 20 60 60 77 72 69 74 65 5f 6c 61 74 65 78 60 60 20 61 20 6c 69 73 74 20 6f 66 20 67 72 .or.``write_latex``.a.list.of.gr
0360 61 70 68 73 2c 20 61 20 6c 69 73 74 20 6f 66 20 73 75 62 63 61 70 74 69 6f 6e 73 2c 0a 61 6e 64 aphs,.a.list.of.subcaptions,.and
0380 20 61 20 6e 75 6d 62 65 72 20 6f 66 20 72 6f 77 73 20 6f 66 20 73 75 62 66 69 67 75 72 65 73 20 .a.number.of.rows.of.subfigures.
03a0 69 6e 73 69 64 65 20 74 68 65 20 66 69 67 75 72 65 2e 0a 0a 54 6f 20 62 65 20 61 62 6c 65 20 74 inside.the.figure...To.be.able.t
03c0 6f 20 72 65 66 65 72 20 74 6f 20 74 68 65 20 66 69 67 75 72 65 73 20 6f 72 20 73 75 62 66 69 67 o.refer.to.the.figures.or.subfig
03e0 75 72 65 73 20 69 6e 20 6c 61 74 65 78 20 75 73 69 6e 67 20 60 60 5c 5c 72 65 66 60 60 2c 0a 74 ures.in.latex.using.``\\ref``,.t
0400 68 65 20 6b 65 79 77 6f 72 64 20 60 60 6c 61 74 65 78 5f 6c 61 62 65 6c 60 60 20 69 73 20 61 76 he.keyword.``latex_label``.is.av
0420 61 69 6c 61 62 6c 65 20 66 6f 72 20 66 69 67 75 72 65 73 20 61 6e 64 20 60 73 75 62 5f 6c 61 62 ailable.for.figures.and.`sub_lab
0440 65 6c 73 60 20 66 6f 72 0a 61 20 6c 69 73 74 20 6f 66 20 6c 61 62 65 6c 73 2c 20 6f 6e 65 20 66 els`.for.a.list.of.labels,.one.f
0460 6f 72 20 65 61 63 68 20 73 75 62 66 69 67 75 72 65 2e 0a 0a 57 65 20 69 6e 74 65 6e 64 20 74 6f or.each.subfigure...We.intend.to
0480 20 65 76 65 6e 74 75 61 6c 6c 79 20 70 72 6f 76 69 64 65 20 61 6e 20 69 6e 74 65 72 66 61 63 65 .eventually.provide.an.interface
04a0 20 74 6f 20 74 68 65 20 54 69 6b 5a 20 47 72 61 70 68 0a 66 65 61 74 75 72 65 73 20 77 68 69 63 .to.the.TikZ.Graph.features.whic
04c0 68 20 69 6e 63 6c 75 64 65 20 65 2e 67 2e 20 6c 61 79 6f 75 74 20 61 6c 67 6f 72 69 74 68 6d 73 h.include.e.g..layout.algorithms
04e0 2e 0a 0a 4c 65 74 20 75 73 20 6b 6e 6f 77 20 76 69 61 20 67 69 74 68 75 62 20 77 68 61 74 20 79 ...Let.us.know.via.github.what.y
0500 6f 75 27 64 20 6c 69 6b 65 20 74 6f 20 73 65 65 20 61 76 61 69 6c 61 62 6c 65 2c 20 6f 72 20 62 ou'd.like.to.see.available,.or.b
0520 65 74 74 65 72 20 79 65 74 0a 67 69 76 65 20 75 73 20 73 6f 6d 65 20 63 6f 64 65 20 74 6f 20 64 etter.yet.give.us.some.code.to.d
0540 6f 20 69 74 2c 20 6f 72 20 65 76 65 6e 20 62 65 74 74 65 72 20 6d 61 6b 65 20 61 20 67 69 74 68 o.it,.or.even.better.make.a.gith
0560 75 62 20 70 75 6c 6c 20 72 65 71 75 65 73 74 0a 74 6f 20 61 64 64 20 74 68 65 20 66 65 61 74 75 ub.pull.request.to.add.the.featu
0580 72 65 2e 0a 0a 54 68 65 20 54 69 6b 5a 20 61 70 70 72 6f 61 63 68 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d re...The.TikZ.approach.=========
05a0 3d 3d 3d 3d 3d 3d 3d 3d 0a 44 72 61 77 69 6e 67 20 6f 70 74 69 6f 6e 73 20 63 61 6e 20 62 65 20 ========.Drawing.options.can.be.
05c0 73 74 6f 72 65 64 20 6f 6e 20 74 68 65 20 67 72 61 70 68 20 61 73 20 6e 6f 64 65 2f 65 64 67 65 stored.on.the.graph.as.node/edge
05e0 20 61 74 74 72 69 62 75 74 65 73 2c 20 6f 72 0a 63 61 6e 20 62 65 20 70 72 6f 76 69 64 65 64 20 .attributes,.or.can.be.provided.
0600 61 73 20 64 69 63 74 73 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 2f 65 64 67 65 20 74 6f 20 61 as.dicts.keyed.by.node/edge.to.a
0620 20 73 74 72 69 6e 67 20 6f 66 20 74 68 65 20 6f 70 74 69 6f 6e 73 0a 66 6f 72 20 74 68 61 74 20 .string.of.the.options.for.that.
0640 6e 6f 64 65 2f 65 64 67 65 2e 20 53 69 6d 69 6c 61 72 6c 79 20 61 20 6c 61 62 65 6c 20 63 61 6e node/edge..Similarly.a.label.can
0660 20 62 65 20 73 68 6f 77 6e 20 66 6f 72 20 65 61 63 68 20 6e 6f 64 65 2f 65 64 67 65 0a 62 79 20 .be.shown.for.each.node/edge.by.
0680 73 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 73 20 61 73 20 67 72 61 70 68 20 6e specifying.the.labels.as.graph.n
06a0 6f 64 65 2f 65 64 67 65 20 61 74 74 72 69 62 75 74 65 73 20 6f 72 20 62 79 20 70 72 6f 76 69 64 ode/edge.attributes.or.by.provid
06c0 69 6e 67 0a 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 2f 65 64 67 65 20 74 6f ing.a.dict.keyed.by.node/edge.to
06e0 20 74 68 65 20 74 65 78 74 20 74 6f 20 62 65 20 77 72 69 74 74 65 6e 20 66 6f 72 20 74 68 61 74 .the.text.to.be.written.for.that
0700 20 6e 6f 64 65 2f 65 64 67 65 2e 0a 0a 4f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 74 69 6b .node/edge...Options.for.the.tik
0720 7a 70 69 63 74 75 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 28 65 2e 67 2e 20 22 5b 73 63 61 zpicture.environment.(e.g.."[sca
0740 6c 65 3d 32 5d 22 29 20 63 61 6e 20 62 65 20 70 72 6f 76 69 64 65 64 0a 76 69 61 20 61 20 6b 65 le=2]").can.be.provided.via.a.ke
0760 79 77 6f 72 64 20 61 72 67 75 6d 65 6e 74 2e 20 53 69 6d 69 6c 61 72 6c 79 20 64 65 66 61 75 6c yword.argument..Similarly.defaul
0780 74 20 6e 6f 64 65 20 61 6e 64 20 65 64 67 65 20 6f 70 74 69 6f 6e 73 20 63 61 6e 20 62 65 0a 70 t.node.and.edge.options.can.be.p
07a0 72 6f 76 69 64 65 64 20 74 68 72 6f 75 67 68 20 6b 65 79 77 6f 72 64 73 20 61 72 67 75 6d 65 6e rovided.through.keywords.argumen
07c0 74 73 2e 20 54 68 65 20 64 65 66 61 75 6c 74 20 6e 6f 64 65 20 6f 70 74 69 6f 6e 73 20 61 72 65 ts..The.default.node.options.are
07e0 20 61 70 70 6c 69 65 64 0a 74 6f 20 74 68 65 20 73 69 6e 67 6c 65 20 54 69 6b 5a 20 22 70 61 74 .applied.to.the.single.TikZ."pat
0800 68 22 20 74 68 61 74 20 64 72 61 77 73 20 61 6c 6c 20 6e 6f 64 65 73 20 28 61 6e 64 20 6e 6f 20 h".that.draws.all.nodes.(and.no.
0820 65 64 67 65 73 29 2e 20 54 68 65 20 64 65 66 61 75 6c 74 20 65 64 67 65 0a 6f 70 74 69 6f 6e 73 edges)..The.default.edge.options
0840 20 61 72 65 20 61 70 70 6c 69 65 64 20 74 6f 20 61 20 54 69 6b 5a 20 22 73 63 6f 70 65 22 20 77 .are.applied.to.a.TikZ."scope".w
0860 68 69 63 68 20 63 6f 6e 74 61 69 6e 73 20 61 20 70 61 74 68 20 66 6f 72 20 65 61 63 68 20 65 64 hich.contains.a.path.for.each.ed
0880 67 65 2e 0a 0a 45 78 61 6d 70 6c 65 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 0a 3e 3e 3e 20 47 20 3d 20 6e ge...Examples.========.>>>.G.=.n
08a0 78 2e 70 61 74 68 5f 67 72 61 70 68 28 33 29 0a 3e 3e 3e 20 6e 78 2e 77 72 69 74 65 5f 6c 61 74 x.path_graph(3).>>>.nx.write_lat
08c0 65 78 28 47 2c 20 22 6a 75 73 74 5f 6d 79 5f 66 69 67 75 72 65 2e 74 65 78 22 2c 20 61 73 5f 64 ex(G,."just_my_figure.tex",.as_d
08e0 6f 63 75 6d 65 6e 74 3d 54 72 75 65 29 0a 3e 3e 3e 20 6e 78 2e 77 72 69 74 65 5f 6c 61 74 65 78 ocument=True).>>>.nx.write_latex
0900 28 47 2c 20 22 6d 79 5f 66 69 67 75 72 65 2e 74 65 78 22 2c 20 63 61 70 74 69 6f 6e 3d 22 41 20 (G,."my_figure.tex",.caption="A.
0920 70 61 74 68 20 67 72 61 70 68 22 2c 20 6c 61 74 65 78 5f 6c 61 62 65 6c 3d 22 66 69 67 31 22 29 path.graph",.latex_label="fig1")
0940 0a 3e 3e 3e 20 6c 61 74 65 78 5f 63 6f 64 65 20 3d 20 6e 78 2e 74 6f 5f 6c 61 74 65 78 28 47 29 .>>>.latex_code.=.nx.to_latex(G)
0960 20 20 23 20 61 20 73 74 72 69 6e 67 20 72 61 74 68 65 72 20 74 68 61 6e 20 61 20 66 69 6c 65 0a ..#.a.string.rather.than.a.file.
0980 0a 59 6f 75 20 63 61 6e 20 63 68 61 6e 67 65 20 6d 61 6e 79 20 66 65 61 74 75 72 65 73 20 6f 66 .You.can.change.many.features.of
09a0 20 74 68 65 20 6e 6f 64 65 73 20 61 6e 64 20 65 64 67 65 73 2e 0a 0a 3e 3e 3e 20 47 20 3d 20 6e .the.nodes.and.edges...>>>.G.=.n
09c0 78 2e 70 61 74 68 5f 67 72 61 70 68 28 34 2c 20 63 72 65 61 74 65 5f 75 73 69 6e 67 3d 6e 78 2e x.path_graph(4,.create_using=nx.
09e0 44 69 47 72 61 70 68 29 0a 3e 3e 3e 20 70 6f 73 20 3d 20 7b 6e 3a 20 28 6e 2c 20 6e 29 20 66 6f DiGraph).>>>.pos.=.{n:.(n,.n).fo
0a00 72 20 6e 20 69 6e 20 47 7d 20 20 23 20 6e 6f 64 65 73 20 73 65 74 20 6f 6e 20 61 20 6c 69 6e 65 r.n.in.G}..#.nodes.set.on.a.line
0a20 0a 0a 3e 3e 3e 20 47 2e 6e 6f 64 65 73 5b 30 5d 5b 22 73 74 79 6c 65 22 5d 20 3d 20 22 62 6c 75 ..>>>.G.nodes[0]["style"].=."blu
0a40 65 22 0a 3e 3e 3e 20 47 2e 6e 6f 64 65 73 5b 32 5d 5b 22 73 74 79 6c 65 22 5d 20 3d 20 22 6c 69 e".>>>.G.nodes[2]["style"].=."li
0a60 6e 65 20 77 69 64 74 68 3d 33 2c 64 72 61 77 22 0a 3e 3e 3e 20 47 2e 6e 6f 64 65 73 5b 33 5d 5b ne.width=3,draw".>>>.G.nodes[3][
0a80 22 6c 61 62 65 6c 22 5d 20 3d 20 22 53 74 6f 70 22 0a 3e 3e 3e 20 47 2e 65 64 67 65 73 5b 28 30 "label"].=."Stop".>>>.G.edges[(0
0aa0 2c 20 31 29 5d 5b 22 6c 61 62 65 6c 22 5d 20 3d 20 22 31 73 74 20 53 74 65 70 22 0a 3e 3e 3e 20 ,.1)]["label"].=."1st.Step".>>>.
0ac0 47 2e 65 64 67 65 73 5b 28 30 2c 20 31 29 5d 5b 22 6c 61 62 65 6c 5f 6f 70 74 73 22 5d 20 3d 20 G.edges[(0,.1)]["label_opts"].=.
0ae0 22 6e 65 61 72 20 73 74 61 72 74 22 0a 3e 3e 3e 20 47 2e 65 64 67 65 73 5b 28 31 2c 20 32 29 5d "near.start".>>>.G.edges[(1,.2)]
0b00 5b 22 73 74 79 6c 65 22 5d 20 3d 20 22 6c 69 6e 65 20 77 69 64 74 68 3d 33 22 0a 3e 3e 3e 20 47 ["style"].=."line.width=3".>>>.G
0b20 2e 65 64 67 65 73 5b 28 31 2c 20 32 29 5d 5b 22 6c 61 62 65 6c 22 5d 20 3d 20 22 32 6e 64 20 53 .edges[(1,.2)]["label"].=."2nd.S
0b40 74 65 70 22 0a 3e 3e 3e 20 47 2e 65 64 67 65 73 5b 28 32 2c 20 33 29 5d 5b 22 73 74 79 6c 65 22 tep".>>>.G.edges[(2,.3)]["style"
0b60 5d 20 3d 20 22 67 72 65 65 6e 22 0a 3e 3e 3e 20 47 2e 65 64 67 65 73 5b 28 32 2c 20 33 29 5d 5b ].=."green".>>>.G.edges[(2,.3)][
0b80 22 6c 61 62 65 6c 22 5d 20 3d 20 22 33 72 64 20 53 74 65 70 22 0a 3e 3e 3e 20 47 2e 65 64 67 65 "label"].=."3rd.Step".>>>.G.edge
0ba0 73 5b 28 32 2c 20 33 29 5d 5b 22 6c 61 62 65 6c 5f 6f 70 74 73 22 5d 20 3d 20 22 6e 65 61 72 20 s[(2,.3)]["label_opts"].=."near.
0bc0 65 6e 64 22 0a 0a 3e 3e 3e 20 6e 78 2e 77 72 69 74 65 5f 6c 61 74 65 78 28 47 2c 20 22 6c 61 74 end"..>>>.nx.write_latex(G,."lat
0be0 65 78 5f 67 72 61 70 68 2e 74 65 78 22 2c 20 70 6f 73 3d 70 6f 73 2c 20 61 73 5f 64 6f 63 75 6d ex_graph.tex",.pos=pos,.as_docum
0c00 65 6e 74 3d 54 72 75 65 29 0a 0a 54 68 65 6e 20 63 6f 6d 70 69 6c 65 20 74 68 65 20 4c 61 54 65 ent=True)..Then.compile.the.LaTe
0c20 58 20 75 73 69 6e 67 20 73 6f 6d 65 74 68 69 6e 67 20 6c 69 6b 65 20 60 60 70 64 66 6c 61 74 65 X.using.something.like.``pdflate
0c40 78 20 6c 61 74 65 78 5f 67 72 61 70 68 2e 74 65 78 60 60 0a 61 6e 64 20 76 69 65 77 20 74 68 65 x.latex_graph.tex``.and.view.the
0c60 20 70 64 66 20 66 69 6c 65 20 63 72 65 61 74 65 64 3a 20 60 60 6c 61 74 65 78 5f 67 72 61 70 68 .pdf.file.created:.``latex_graph
0c80 2e 70 64 66 60 60 2e 0a 0a 49 66 20 79 6f 75 20 77 61 6e 74 20 2a 2a 73 75 62 66 69 67 75 72 65 .pdf``...If.you.want.**subfigure
0ca0 73 2a 2a 20 65 61 63 68 20 63 6f 6e 74 61 69 6e 69 6e 67 20 6f 6e 65 20 67 72 61 70 68 2c 20 79 s**.each.containing.one.graph,.y
0cc0 6f 75 20 63 61 6e 20 69 6e 70 75 74 20 61 20 6c 69 73 74 20 6f 66 20 67 72 61 70 68 73 2e 0a 0a ou.can.input.a.list.of.graphs...
0ce0 3e 3e 3e 20 48 31 20 3d 20 6e 78 2e 70 61 74 68 5f 67 72 61 70 68 28 34 29 0a 3e 3e 3e 20 48 32 >>>.H1.=.nx.path_graph(4).>>>.H2
0d00 20 3d 20 6e 78 2e 63 6f 6d 70 6c 65 74 65 5f 67 72 61 70 68 28 34 29 0a 3e 3e 3e 20 48 33 20 3d .=.nx.complete_graph(4).>>>.H3.=
0d20 20 6e 78 2e 70 61 74 68 5f 67 72 61 70 68 28 38 29 0a 3e 3e 3e 20 48 34 20 3d 20 6e 78 2e 63 6f .nx.path_graph(8).>>>.H4.=.nx.co
0d40 6d 70 6c 65 74 65 5f 67 72 61 70 68 28 38 29 0a 3e 3e 3e 20 67 72 61 70 68 73 20 3d 20 5b 48 31 mplete_graph(8).>>>.graphs.=.[H1
0d60 2c 20 48 32 2c 20 48 33 2c 20 48 34 5d 0a 3e 3e 3e 20 63 61 70 73 20 3d 20 5b 22 50 61 74 68 20 ,.H2,.H3,.H4].>>>.caps.=.["Path.
0d80 34 22 2c 20 22 43 6f 6d 70 6c 65 74 65 20 67 72 61 70 68 20 34 22 2c 20 22 50 61 74 68 20 38 22 4",."Complete.graph.4",."Path.8"
0da0 2c 20 22 43 6f 6d 70 6c 65 74 65 20 67 72 61 70 68 20 38 22 5d 0a 3e 3e 3e 20 6c 62 6c 73 20 3d ,."Complete.graph.8"].>>>.lbls.=
0dc0 20 5b 22 66 69 67 32 61 22 2c 20 22 66 69 67 32 62 22 2c 20 22 66 69 67 32 63 22 2c 20 22 66 69 .["fig2a",."fig2b",."fig2c",."fi
0de0 67 32 64 22 5d 0a 3e 3e 3e 20 6e 78 2e 77 72 69 74 65 5f 6c 61 74 65 78 28 67 72 61 70 68 73 2c g2d"].>>>.nx.write_latex(graphs,
0e00 20 22 73 75 62 66 69 67 73 2e 74 65 78 22 2c 20 6e 5f 72 6f 77 73 3d 32 2c 20 73 75 62 5f 63 61 ."subfigs.tex",.n_rows=2,.sub_ca
0e20 70 74 69 6f 6e 73 3d 63 61 70 73 2c 20 73 75 62 5f 6c 61 62 65 6c 73 3d 6c 62 6c 73 29 0a 3e 3e ptions=caps,.sub_labels=lbls).>>
0e40 3e 20 6c 61 74 65 78 5f 63 6f 64 65 20 3d 20 6e 78 2e 74 6f 5f 6c 61 74 65 78 28 67 72 61 70 68 >.latex_code.=.nx.to_latex(graph
0e60 73 2c 20 6e 5f 72 6f 77 73 3d 32 2c 20 73 75 62 5f 63 61 70 74 69 6f 6e 73 3d 63 61 70 73 2c 20 s,.n_rows=2,.sub_captions=caps,.
0e80 73 75 62 5f 6c 61 62 65 6c 73 3d 6c 62 6c 73 29 0a 0a 3e 3e 3e 20 6e 6f 64 65 5f 63 6f 6c 6f 72 sub_labels=lbls)..>>>.node_color
0ea0 20 3d 20 7b 30 3a 20 22 72 65 64 22 2c 20 31 3a 20 22 6f 72 61 6e 67 65 22 2c 20 32 3a 20 22 62 .=.{0:."red",.1:."orange",.2:."b
0ec0 6c 75 65 22 2c 20 33 3a 20 22 67 72 61 79 21 39 30 22 7d 0a 3e 3e 3e 20 65 64 67 65 5f 77 69 64 lue",.3:."gray!90"}.>>>.edge_wid
0ee0 74 68 20 3d 20 7b 65 3a 20 22 6c 69 6e 65 20 77 69 64 74 68 3d 31 2e 35 22 20 66 6f 72 20 65 20 th.=.{e:."line.width=1.5".for.e.
0f00 69 6e 20 48 33 2e 65 64 67 65 73 7d 0a 3e 3e 3e 20 70 6f 73 20 3d 20 6e 78 2e 63 69 72 63 75 6c in.H3.edges}.>>>.pos.=.nx.circul
0f20 61 72 5f 6c 61 79 6f 75 74 28 48 33 29 0a 3e 3e 3e 20 6c 61 74 65 78 5f 63 6f 64 65 20 3d 20 6e ar_layout(H3).>>>.latex_code.=.n
0f40 78 2e 74 6f 5f 6c 61 74 65 78 28 48 33 2c 20 70 6f 73 2c 20 6e 6f 64 65 5f 6f 70 74 69 6f 6e 73 x.to_latex(H3,.pos,.node_options
0f60 3d 6e 6f 64 65 5f 63 6f 6c 6f 72 2c 20 65 64 67 65 5f 6f 70 74 69 6f 6e 73 3d 65 64 67 65 5f 77 =node_color,.edge_options=edge_w
0f80 69 64 74 68 29 0a 3e 3e 3e 20 70 72 69 6e 74 28 6c 61 74 65 78 5f 63 6f 64 65 29 0a 5c 64 6f 63 idth).>>>.print(latex_code).\doc
0fa0 75 6d 65 6e 74 63 6c 61 73 73 7b 72 65 70 6f 72 74 7d 0a 5c 75 73 65 70 61 63 6b 61 67 65 7b 74 umentclass{report}.\usepackage{t
0fc0 69 6b 7a 7d 0a 5c 75 73 65 70 61 63 6b 61 67 65 7b 73 75 62 63 61 70 74 69 6f 6e 7d 0a 3c 42 4c ikz}.\usepackage{subcaption}.<BL
0fe0 41 4e 4b 4c 49 4e 45 3e 0a 5c 62 65 67 69 6e 7b 64 6f 63 75 6d 65 6e 74 7d 0a 5c 62 65 67 69 6e ANKLINE>.\begin{document}.\begin
1000 7b 66 69 67 75 72 65 7d 0a 20 20 5c 62 65 67 69 6e 7b 74 69 6b 7a 70 69 63 74 75 72 65 7d 0a 20 {figure}...\begin{tikzpicture}..
1020 20 20 20 20 20 5c 64 72 61 77 0a 20 20 20 20 20 20 20 20 28 31 2e 30 2c 20 30 2e 30 29 20 6e 6f .....\draw.........(1.0,.0.0).no
1040 64 65 5b 72 65 64 5d 20 28 30 29 7b 30 7d 0a 20 20 20 20 20 20 20 20 28 30 2e 37 30 37 2c 20 30 de[red].(0){0}.........(0.707,.0
1060 2e 37 30 37 29 20 6e 6f 64 65 5b 6f 72 61 6e 67 65 5d 20 28 31 29 7b 31 7d 0a 20 20 20 20 20 20 .707).node[orange].(1){1}.......
1080 20 20 28 2d 30 2e 30 2c 20 31 2e 30 29 20 6e 6f 64 65 5b 62 6c 75 65 5d 20 28 32 29 7b 32 7d 0a ..(-0.0,.1.0).node[blue].(2){2}.
10a0 20 20 20 20 20 20 20 20 28 2d 30 2e 37 30 37 2c 20 30 2e 37 30 37 29 20 6e 6f 64 65 5b 67 72 61 ........(-0.707,.0.707).node[gra
10c0 79 21 39 30 5d 20 28 33 29 7b 33 7d 0a 20 20 20 20 20 20 20 20 28 2d 31 2e 30 2c 20 2d 30 2e 30 y!90].(3){3}.........(-1.0,.-0.0
10e0 29 20 6e 6f 64 65 20 28 34 29 7b 34 7d 0a 20 20 20 20 20 20 20 20 28 2d 30 2e 37 30 37 2c 20 2d ).node.(4){4}.........(-0.707,.-
1100 30 2e 37 30 37 29 20 6e 6f 64 65 20 28 35 29 7b 35 7d 0a 20 20 20 20 20 20 20 20 28 30 2e 30 2c 0.707).node.(5){5}.........(0.0,
1120 20 2d 31 2e 30 29 20 6e 6f 64 65 20 28 36 29 7b 36 7d 0a 20 20 20 20 20 20 20 20 28 30 2e 37 30 .-1.0).node.(6){6}.........(0.70
1140 37 2c 20 2d 30 2e 37 30 37 29 20 6e 6f 64 65 20 28 37 29 7b 37 7d 3b 0a 20 20 20 20 20 20 5c 62 7,.-0.707).node.(7){7};.......\b
1160 65 67 69 6e 7b 73 63 6f 70 65 7d 5b 2d 5d 0a 20 20 20 20 20 20 20 20 5c 64 72 61 77 5b 6c 69 6e egin{scope}[-].........\draw[lin
1180 65 20 77 69 64 74 68 3d 31 2e 35 5d 20 28 30 29 20 74 6f 20 28 31 29 3b 0a 20 20 20 20 20 20 20 e.width=1.5].(0).to.(1);........
11a0 20 5c 64 72 61 77 5b 6c 69 6e 65 20 77 69 64 74 68 3d 31 2e 35 5d 20 28 31 29 20 74 6f 20 28 32 .\draw[line.width=1.5].(1).to.(2
11c0 29 3b 0a 20 20 20 20 20 20 20 20 5c 64 72 61 77 5b 6c 69 6e 65 20 77 69 64 74 68 3d 31 2e 35 5d );.........\draw[line.width=1.5]
11e0 20 28 32 29 20 74 6f 20 28 33 29 3b 0a 20 20 20 20 20 20 20 20 5c 64 72 61 77 5b 6c 69 6e 65 20 .(2).to.(3);.........\draw[line.
1200 77 69 64 74 68 3d 31 2e 35 5d 20 28 33 29 20 74 6f 20 28 34 29 3b 0a 20 20 20 20 20 20 20 20 5c width=1.5].(3).to.(4);.........\
1220 64 72 61 77 5b 6c 69 6e 65 20 77 69 64 74 68 3d 31 2e 35 5d 20 28 34 29 20 74 6f 20 28 35 29 3b draw[line.width=1.5].(4).to.(5);
1240 0a 20 20 20 20 20 20 20 20 5c 64 72 61 77 5b 6c 69 6e 65 20 77 69 64 74 68 3d 31 2e 35 5d 20 28 .........\draw[line.width=1.5].(
1260 35 29 20 74 6f 20 28 36 29 3b 0a 20 20 20 20 20 20 20 20 5c 64 72 61 77 5b 6c 69 6e 65 20 77 69 5).to.(6);.........\draw[line.wi
1280 64 74 68 3d 31 2e 35 5d 20 28 36 29 20 74 6f 20 28 37 29 3b 0a 20 20 20 20 20 20 5c 65 6e 64 7b dth=1.5].(6).to.(7);.......\end{
12a0 73 63 6f 70 65 7d 0a 20 20 20 20 5c 65 6e 64 7b 74 69 6b 7a 70 69 63 74 75 72 65 7d 0a 5c 65 6e scope}.....\end{tikzpicture}.\en
12c0 64 7b 66 69 67 75 72 65 7d 0a 5c 65 6e 64 7b 64 6f 63 75 6d 65 6e 74 7d 0a 0a 4e 6f 74 65 73 0a d{figure}.\end{document}..Notes.
12e0 2d 2d 2d 2d 2d 0a 49 66 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 63 68 61 6e 67 65 20 74 68 65 20 -----.If.you.want.to.change.the.
1300 70 72 65 61 6d 62 6c 65 2f 70 6f 73 74 61 6d 62 6c 65 20 6f 66 20 74 68 65 20 66 69 67 75 72 65 preamble/postamble.of.the.figure
1320 2f 64 6f 63 75 6d 65 6e 74 2f 73 75 62 66 69 67 75 72 65 0a 65 6e 76 69 72 6f 6e 6d 65 6e 74 2c /document/subfigure.environment,
1340 20 75 73 65 20 74 68 65 20 6b 65 79 77 6f 72 64 20 61 72 67 75 6d 65 6e 74 73 3a 20 60 66 69 67 .use.the.keyword.arguments:.`fig
1360 75 72 65 5f 77 72 61 70 70 65 72 60 2c 20 60 64 6f 63 75 6d 65 6e 74 5f 77 72 61 70 70 65 72 60 ure_wrapper`,.`document_wrapper`
1380 2c 0a 60 73 75 62 66 69 67 75 72 65 5f 77 72 61 70 70 65 72 60 2e 20 54 68 65 20 64 65 66 61 75 ,.`subfigure_wrapper`..The.defau
13a0 6c 74 20 76 61 6c 75 65 73 20 61 72 65 20 73 74 6f 72 65 64 20 69 6e 20 70 72 69 76 61 74 65 20 lt.values.are.stored.in.private.
13c0 76 61 72 69 61 62 6c 65 73 0a 65 2e 67 2e 20 60 60 6e 78 2e 6e 78 5f 6c 61 79 6f 75 74 2e 5f 44 variables.e.g..``nx.nx_layout._D
13e0 4f 43 55 4d 45 4e 54 5f 57 52 41 50 50 45 52 60 60 0a 0a 52 65 66 65 72 65 6e 63 65 73 0a 2d 2d OCUMENT_WRAPPER``..References.--
1400 2d 2d 2d 2d 2d 2d 2d 2d 0a 54 69 6b 5a 3a 20 20 20 20 20 20 20 20 20 20 68 74 74 70 73 3a 2f 2f --------.TikZ:..........https://
1420 74 69 6b 7a 2e 64 65 76 2f 0a 0a 54 69 6b 5a 20 6f 70 74 69 6f 6e 73 20 64 65 74 61 69 6c 73 3a tikz.dev/..TikZ.options.details:
1440 20 20 20 68 74 74 70 73 3a 2f 2f 74 69 6b 7a 2e 64 65 76 2f 74 69 6b 7a 2d 61 63 74 69 6f 6e 73 ...https://tikz.dev/tikz-actions
1460 0a e9 00 00 00 00 4e 29 03 da 0c 74 6f 5f 6c 61 74 65 78 5f 72 61 77 da 08 74 6f 5f 6c 61 74 65 ......N)...to_latex_raw..to_late
1480 78 da 0b 77 72 69 74 65 5f 6c 61 74 65 78 da 0a 6d 75 6c 74 69 67 72 61 70 68 da 03 70 6f 73 da x..write_latex..multigraph..pos.
14a0 00 da 0c 6e 6f 64 65 5f 6f 70 74 69 6f 6e 73 da 0c 65 64 67 65 5f 6f 70 74 69 6f 6e 73 da 12 65 ...node_options..edge_options..e
14c0 64 67 65 5f 6c 61 62 65 6c 5f 6f 70 74 69 6f 6e 73 63 0a 00 00 00 00 00 00 00 00 00 00 00 0c 00 dge_label_optionsc..............
14e0 00 00 03 00 00 00 f3 80 06 00 00 97 00 64 01 7d 0a 64 02 7d 0b 74 01 00 00 00 00 00 00 00 00 7c .............d.}.d.}.t.........|
1500 01 74 02 00 00 00 00 00 00 00 00 ab 02 00 00 00 00 00 00 73 16 74 05 00 00 00 00 00 00 00 00 6a .t.................s.t.........j
1520 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 00 7c 01 ab 02 00 00 00 00 00 00 7d ...................|.|.........}
1540 01 7c 01 73 3b 74 09 00 00 00 00 00 00 00 00 7c 00 ab 01 00 00 00 00 00 00 44 00 8f 0c 8f 0d 63 .|.s;t.........|.........D.....c
1560 03 69 00 63 02 5d 25 00 00 5c 02 00 00 7d 0c 7d 0d 7c 0d 64 03 74 0b 00 00 00 00 00 00 00 00 64 .i.c.]%..\...}.}.|.d.t.........d
1580 04 7c 0c 7a 05 00 00 74 0d 00 00 00 00 00 00 00 00 7c 00 ab 01 00 00 00 00 00 00 7a 0b 00 00 64 .|.z...t.........|.........z...d
15a0 05 ab 02 00 00 00 00 00 00 9b 00 64 06 9d 03 93 02 8c 27 04 00 7d 01 7d 0c 7d 0d 7c 00 44 00 5d ...........d......'..}.}.}.|.D.]
15c0 5d 00 00 7d 0e 7c 0e 7c 01 76 01 72 1b 74 05 00 00 00 00 00 00 00 00 6a 0e 00 00 00 00 00 00 00 ]..}.|.|.v.r.t.........j........
15e0 00 00 00 00 00 00 00 00 00 00 00 64 07 7c 0e 9b 00 64 08 7c 01 9b 00 9d 04 ab 01 00 00 00 00 00 ...........d.|...d.|............
1600 00 82 01 7c 01 7c 0e 19 00 00 00 7d 0f 74 01 00 00 00 00 00 00 00 00 7c 0f 74 10 00 00 00 00 00 ...|.|.....}.t.........|.t......
1620 00 00 00 ab 02 00 00 00 00 00 00 72 01 8c 38 09 00 7c 0f 5c 02 00 00 7d 10 7d 11 64 03 74 0b 00 ...........r..8..|.\...}.}.d.t..
1640 00 00 00 00 00 00 00 7c 10 64 05 ab 02 00 00 00 00 00 00 9b 00 64 09 74 0b 00 00 00 00 00 00 00 .......|.d...........d.t........
1660 00 7c 11 64 05 ab 02 00 00 00 00 00 00 9b 00 64 0a 9d 05 7c 01 7c 0e 3c 00 00 00 8c 5f 04 00 74 .|.d...........d...|.|.<...._..t
1680 01 00 00 00 00 00 00 00 00 7c 04 74 02 00 00 00 00 00 00 00 00 ab 02 00 00 00 00 00 00 73 16 74 .........|.t.................s.t
16a0 05 00 00 00 00 00 00 00 00 6a 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 00 7c .........j...................|.|
16c0 04 ab 02 00 00 00 00 00 00 7d 04 74 01 00 00 00 00 00 00 00 00 7c 05 74 02 00 00 00 00 00 00 00 .........}.t.........|.t........
16e0 00 ab 02 00 00 00 00 00 00 73 16 74 05 00 00 00 00 00 00 00 00 6a 06 00 00 00 00 00 00 00 00 00 .........s.t.........j..........
1700 00 00 00 00 00 00 00 00 00 7c 00 7c 05 ab 02 00 00 00 00 00 00 7d 05 74 01 00 00 00 00 00 00 00 .........|.|.........}.t........
1720 00 7c 07 74 02 00 00 00 00 00 00 00 00 ab 02 00 00 00 00 00 00 73 16 74 05 00 00 00 00 00 00 00 .|.t.................s.t........
1740 00 6a 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 00 7c 07 ab 02 00 00 00 00 00 .j...................|.|........
1760 00 7d 07 74 01 00 00 00 00 00 00 00 00 7c 08 74 02 00 00 00 00 00 00 00 00 ab 02 00 00 00 00 00 .}.t.........|.t................
1780 00 73 16 74 05 00 00 00 00 00 00 00 00 6a 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .s.t.........j..................
17a0 00 7c 00 7c 08 ab 02 00 00 00 00 00 00 7d 08 74 01 00 00 00 00 00 00 00 00 7c 09 74 02 00 00 00 .|.|.........}.t.........|.t....
17c0 00 00 00 00 00 ab 02 00 00 00 00 00 00 73 16 74 05 00 00 00 00 00 00 00 00 6a 16 00 00 00 00 00 .............s.t.........j......
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 00 7c 09 ab 02 00 00 00 00 00 00 7d 09 7c 02 64 0d 6b .............|.|.........}.|.d.k
1800 28 00 00 72 02 64 0d 6e 14 64 0e 7c 02 6a 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (..r.d.n.d.|.j..................
1820 00 64 0f ab 01 00 00 00 00 00 00 9b 00 64 10 9d 03 7d 13 7c 03 64 0d 6b 28 00 00 72 02 64 0d 6e .d...........d...}.|.d.k(..r.d.n
1840 14 64 0e 7c 03 6a 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 0f ab 01 00 00 00 .d.|.j...................d......
1860 00 00 00 9b 00 64 10 9d 03 7d 14 7c 00 6a 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .....d...}.|.j..................
1880 00 ab 00 00 00 00 00 00 00 72 02 64 11 6e 01 64 12 9b 00 7d 15 7c 06 64 0d 6b 28 00 00 72 09 64 .........r.d.n.d...}.|.d.k(..r.d
18a0 0e 7c 15 7a 00 00 00 64 10 7a 00 00 00 7d 16 6e 1f 64 12 7c 06 76 00 72 03 7c 06 7d 16 6e 18 64 .|.z...d.z...}.n.d.|.v.r.|.}.n.d
18c0 0e 7c 15 9b 00 64 13 7c 06 6a 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 0f ab .|...d.|.j...................d..
18e0 01 00 00 00 00 00 00 9b 00 64 10 9d 05 7d 16 64 14 7c 13 7a 00 00 00 7d 17 7c 17 7c 0a 64 15 7a .........d...}.d.|.z...}.|.|.d.z
1900 00 00 00 7c 14 7a 00 00 00 7a 0d 00 00 7d 17 7c 00 44 00 5d 49 00 00 7d 0d 7c 0d 7c 04 76 00 72 ...|.z...z...}.|.D.]I..}.|.|.v.r
1920 18 64 0e 7c 04 7c 0d 19 00 00 00 6a 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 .d.|.|.....j...................d
1940 0f ab 01 00 00 00 00 00 00 9b 00 64 10 9d 03 6e 01 64 0d 7d 18 7c 0d 7c 05 76 00 72 09 64 16 7c ...........d...n.d.}.|.|.v.r.d.|
1960 05 7c 0d 19 00 00 00 9b 00 64 17 9d 03 6e 05 64 16 7c 0d 9b 00 64 17 9d 03 7d 19 7c 17 7c 0b 7c .|.......d...n.d.|...d...}.|.|.|
1980 01 7c 0d 19 00 00 00 9b 00 64 18 7c 18 9b 00 64 19 7c 0d 9b 00 64 0a 7c 19 9b 00 9d 07 7a 00 00 .|.......d.|...d.|...d.|.....z..
19a0 00 7a 0d 00 00 7d 17 8c 4b 04 00 7c 17 64 1a 7a 0d 00 00 7d 17 7c 17 64 1b 7c 16 7a 00 00 00 7a .z...}..K..|.d.z...}.|.d.|.z...z
19c0 0d 00 00 7d 17 7c 00 6a 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 5d 87 00 ...}.|.j...................D.]..
19e0 00 7d 1a 7c 1a 64 1c 64 1d 1a 00 5c 02 00 00 7d 1b 7d 1c 7c 1a 7c 07 76 00 72 15 7c 07 7c 1a 19 .}.|.d.d...\...}.}.|.|.v.r.|.|..
1a00 00 00 00 9b 00 6a 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 0f ab 01 00 00 00 .....j...................d......
1a20 00 00 00 6e 01 64 0d 7d 1d 7c 1b 7c 1c 6b 28 00 00 72 09 64 1e 7c 1d 76 01 72 05 64 1f 7c 1d 7a ...n.d.}.|.|.k(..r.d.|.v.r.d.|.z
1a40 00 00 00 7d 1d 7c 1d 64 0d 6b 37 00 00 72 06 64 0e 7c 1d 9b 00 64 10 9d 03 6e 01 64 0d 7d 1d 7c ...}.|.d.k7..r.d.|...d...n.d.}.|
1a60 1a 7c 09 76 00 72 05 7c 09 7c 1a 19 00 00 00 6e 01 64 0d 7d 1e 64 0e 7c 1e 6a 19 00 00 00 00 00 .|.v.r.|.|.....n.d.}.d.|.j......
1a80 00 00 00 00 00 00 00 00 00 00 00 00 00 64 0f ab 01 00 00 00 00 00 00 9b 00 64 10 9d 03 7d 1e 7c .............d...........d...}.|
1aa0 1a 7c 08 76 00 72 0c 64 18 7c 1e 9b 00 64 20 7c 08 7c 1a 19 00 00 00 9b 00 64 17 9d 05 6e 01 64 .|.v.r.d.|...d.|.|.......d...n.d
1ac0 0d 7d 1f 7c 17 7c 0b 64 21 7c 1d 9b 00 64 19 7c 1b 9b 00 64 22 7c 1f 9b 00 64 19 7c 1c 9b 00 64 .}.|.|.d!|...d.|...d"|...d.|...d
1ae0 23 9d 09 7a 00 00 00 7a 0d 00 00 7d 17 8c 89 04 00 7c 17 64 24 7a 0d 00 00 7d 17 7c 17 53 00 63 #..z...z...}.....|.d$z...}.|.S.c
1b00 02 01 00 63 03 7d 0d 7d 0c 77 00 23 00 74 12 00 00 00 00 00 00 00 00 74 14 00 00 00 00 00 00 00 ...c.}.}.w.#.t.........t........
1b20 00 66 02 24 00 72 1e 01 00 64 0b 7c 0e 9b 00 64 0c 7c 0f 9b 00 9d 04 7d 12 74 05 00 00 00 00 00 .f.$.r...d.|...d.|.....}.t......
1b40 00 00 00 6a 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 12 ab 01 00 00 00 00 00 ...j...................|........
1b60 00 82 01 77 00 78 03 59 00 77 01 29 25 61 42 0b 00 00 52 65 74 75 72 6e 20 61 20 73 74 72 69 6e ...w.x.Y.w.)%aB...Return.a.strin
1b80 67 20 6f 66 20 74 68 65 20 4c 61 54 65 58 2f 54 69 6b 5a 20 63 6f 64 65 20 74 6f 20 64 72 61 77 g.of.the.LaTeX/TikZ.code.to.draw
1ba0 20 60 47 60 0a 0a 20 20 20 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 70 72 6f 64 75 63 65 73 .`G`......This.function.produces
1bc0 20 6a 75 73 74 20 74 68 65 20 63 6f 64 65 20 66 6f 72 20 74 68 65 20 74 69 6b 7a 70 69 63 74 75 .just.the.code.for.the.tikzpictu
1be0 72 65 0a 20 20 20 20 77 69 74 68 6f 75 74 20 61 6e 79 20 65 6e 63 6c 6f 73 69 6e 67 20 65 6e 76 re.....without.any.enclosing.env
1c00 69 72 6f 6e 6d 65 6e 74 2e 0a 0a 20 20 20 20 50 61 72 61 6d 65 74 65 72 73 0a 20 20 20 20 3d 3d ironment.......Parameters.....==
1c20 3d 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 47 20 3a 20 4e 65 74 77 6f 72 6b 58 20 67 72 61 70 68 0a ========.....G.:.NetworkX.graph.
1c40 20 20 20 20 20 20 20 20 54 68 65 20 4e 65 74 77 6f 72 6b 58 20 67 72 61 70 68 20 74 6f 20 62 65 ........The.NetworkX.graph.to.be
1c60 20 64 72 61 77 6e 0a 20 20 20 20 70 6f 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 20 .drawn.....pos.:.string.or.dict.
1c80 28 64 65 66 61 75 6c 74 20 22 70 6f 73 22 29 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 (default."pos").........The.name
1ca0 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 .of.the.node.attribute.on.`G`.th
1cc0 61 74 20 68 6f 6c 64 73 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 65 61 63 68 20 6e 6f at.holds.the.position.of.each.no
1ce0 64 65 2e 0a 20 20 20 20 20 20 20 20 50 6f 73 69 74 69 6f 6e 73 20 63 61 6e 20 62 65 20 73 65 71 de..........Positions.can.be.seq
1d00 75 65 6e 63 65 73 20 6f 66 20 6c 65 6e 67 74 68 20 32 20 77 69 74 68 20 6e 75 6d 62 65 72 73 20 uences.of.length.2.with.numbers.
1d20 66 6f 72 20 28 78 2c 79 29 20 63 6f 6f 72 64 69 6e 61 74 65 73 2e 0a 20 20 20 20 20 20 20 20 54 for.(x,y).coordinates..........T
1d40 68 65 79 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 74 72 69 6e 67 73 20 74 6f 20 64 65 6e 6f 74 hey.can.also.be.strings.to.denot
1d60 65 20 70 6f 73 69 74 69 6f 6e 73 20 69 6e 20 54 69 6b 5a 20 73 74 79 6c 65 2c 20 73 75 63 68 20 e.positions.in.TikZ.style,.such.
1d80 61 73 20 28 78 2c 20 79 29 0a 20 20 20 20 20 20 20 20 6f 72 20 28 61 6e 67 6c 65 3a 72 61 64 69 as.(x,.y).........or.(angle:radi
1da0 75 73 29 2e 0a 20 20 20 20 20 20 20 20 49 66 20 61 20 64 69 63 74 2c 20 69 74 20 73 68 6f 75 6c us)..........If.a.dict,.it.shoul
1dc0 64 20 62 65 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 70 6f 73 69 74 69 6f 6e d.be.keyed.by.node.to.a.position
1de0 2e 0a 20 20 20 20 20 20 20 20 49 66 20 61 6e 20 65 6d 70 74 79 20 64 69 63 74 2c 20 61 20 63 69 ..........If.an.empty.dict,.a.ci
1e00 72 63 75 6c 61 72 20 6c 61 79 6f 75 74 20 69 73 20 63 6f 6d 70 75 74 65 64 20 62 79 20 54 69 6b rcular.layout.is.computed.by.Tik
1e20 5a 2e 0a 20 20 20 20 74 69 6b 7a 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 Z......tikz_options.:.string....
1e40 20 20 20 20 20 54 68 65 20 74 69 6b 7a 70 69 63 74 75 72 65 20 6f 70 74 69 6f 6e 73 20 64 65 73 .....The.tikzpicture.options.des
1e60 63 72 69 70 74 69 6f 6e 20 64 65 66 69 6e 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f cription.defining.the.options.fo
1e80 72 20 74 68 65 20 70 69 63 74 75 72 65 2e 0a 20 20 20 20 20 20 20 20 4f 66 74 65 6e 20 6c 61 72 r.the.picture..........Often.lar
1ea0 67 65 20 73 63 61 6c 65 20 6f 70 74 69 6f 6e 73 20 6c 69 6b 65 20 60 5b 73 63 61 6c 65 3d 32 5d ge.scale.options.like.`[scale=2]
1ec0 60 2e 0a 20 20 20 20 64 65 66 61 75 6c 74 5f 6e 6f 64 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 `......default_node_options.:.st
1ee0 72 69 6e 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 64 72 61 77 20 6f 70 74 69 6f 6e 73 20 66 6f ring.........The.draw.options.fo
1f00 72 20 61 20 70 61 74 68 20 6f 66 20 6e 6f 64 65 73 2e 20 49 6e 64 69 76 69 64 75 61 6c 20 6e 6f r.a.path.of.nodes..Individual.no
1f20 64 65 20 6f 70 74 69 6f 6e 73 20 6f 76 65 72 72 69 64 65 20 74 68 65 73 65 2e 0a 20 20 20 20 6e de.options.override.these......n
1f40 6f 64 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 ode_options.:.string.or.dict....
1f60 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 .....The.name.of.the.node.attrib
1f80 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6f 70 74 69 6f 6e ute.on.`G`.that.holds.the.option
1fa0 73 20 66 6f 72 20 65 61 63 68 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 s.for.each.node..........Or.a.di
1fc0 63 74 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c ct.keyed.by.node.to.a.string.hol
1fe0 64 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 6e 6f 64 65 2e 0a ding.the.options.for.that.node..
2000 20 20 20 20 6e 6f 64 65 5f 6c 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a ....node_label.:.string.or.dict.
2020 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 ........The.name.of.the.node.att
2040 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6e 6f 64 ribute.on.`G`.that.holds.the.nod
2060 65 20 6c 61 62 65 6c 20 28 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 65 64 e.label.(text).........displayed
2080 20 66 6f 72 20 65 61 63 68 20 6e 6f 64 65 2e 20 49 66 20 74 68 65 20 61 74 74 72 69 62 75 74 65 .for.each.node..If.the.attribute
20a0 20 69 73 20 22 22 20 6f 72 20 6e 6f 74 20 70 72 65 73 65 6e 74 2c 20 74 68 65 20 6e 6f 64 65 0a .is."".or.not.present,.the.node.
20c0 20 20 20 20 20 20 20 20 69 74 73 65 6c 66 20 69 73 20 64 72 61 77 6e 20 61 73 20 61 20 73 74 72 ........itself.is.drawn.as.a.str
20e0 69 6e 67 2e 20 4c 61 54 65 58 20 70 72 6f 63 65 73 73 69 6e 67 20 73 75 63 68 20 61 73 20 60 60 ing..LaTeX.processing.such.as.``
2100 22 24 41 5f 31 24 22 60 60 20 69 73 20 61 6c 6c 6f 77 65 64 2e 0a 20 20 20 20 20 20 20 20 4f 72 "$A_1$"``.is.allowed..........Or
2120 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 73 74 72 69 6e .a.dict.keyed.by.node.to.a.strin
2140 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 6e 6f 64 g.holding.the.label.for.that.nod
2160 65 2e 0a 20 20 20 20 64 65 66 61 75 6c 74 5f 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 e......default_edge_options.:.st
2180 72 69 6e 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 ring.........The.options.for.the
21a0 20 73 63 6f 70 65 20 64 72 61 77 69 6e 67 20 61 6c 6c 20 65 64 67 65 73 2e 20 54 68 65 20 64 65 .scope.drawing.all.edges..The.de
21c0 66 61 75 6c 74 20 69 73 20 22 5b 2d 5d 22 20 66 6f 72 0a 20 20 20 20 20 20 20 20 75 6e 64 69 72 fault.is."[-]".for.........undir
21e0 65 63 74 65 64 20 67 72 61 70 68 73 20 61 6e 64 20 22 5b 2d 3e 5d 22 20 66 6f 72 20 64 69 72 65 ected.graphs.and."[->]".for.dire
2200 63 74 65 64 20 67 72 61 70 68 73 2e 0a 20 20 20 20 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 cted.graphs......edge_options.:.
2220 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 string.or.dict.........The.name.
2240 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 of.the.edge.attribute.on.`G`.tha
2260 74 20 68 6f 6c 64 73 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 65 61 63 68 20 65 64 67 t.holds.the.options.for.each.edg
2280 65 2e 0a 20 20 20 20 20 20 20 20 49 66 20 74 68 65 20 65 64 67 65 20 69 73 20 61 20 73 65 6c 66 e..........If.the.edge.is.a.self
22a0 2d 6c 6f 6f 70 20 61 6e 64 20 60 60 22 6c 6f 6f 70 22 20 6e 6f 74 20 69 6e 20 65 64 67 65 5f 6f -loop.and.``"loop".not.in.edge_o
22c0 70 74 69 6f 6e 73 60 60 20 74 68 65 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 22 6c 6f 6f ptions``.the.option........."loo
22e0 70 2c 22 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 p,".is.added.to.the.options.for.
2300 74 68 65 20 73 65 6c 66 2d 6c 6f 6f 70 20 65 64 67 65 2e 20 48 65 6e 63 65 20 79 6f 75 20 63 61 the.self-loop.edge..Hence.you.ca
2320 6e 0a 20 20 20 20 20 20 20 20 75 73 65 20 22 5b 6c 6f 6f 70 20 61 62 6f 76 65 5d 22 20 65 78 70 n.........use."[loop.above]".exp
2340 6c 69 63 69 74 6c 79 2c 20 62 75 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 22 5b 6c 6f licitly,.but.the.default.is."[lo
2360 6f 70 5d 22 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 op]"..........Or.a.dict.keyed.by
2380 20 65 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6f 70 .edge.to.a.string.holding.the.op
23a0 74 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 65 64 67 65 5f 6c 61 tions.for.that.edge......edge_la
23c0 62 65 6c 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 54 68 65 bel.:.string.or.dict.........The
23e0 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 .name.of.the.edge.attribute.on.`
2400 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 65 64 67 65 20 6c 61 62 65 6c 20 28 74 65 G`.that.holds.the.edge.label.(te
2420 78 74 29 0a 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 65 64 20 66 6f 72 20 65 61 63 68 20 65 xt).........displayed.for.each.e
2440 64 67 65 2e 20 49 66 20 74 68 65 20 61 74 74 72 69 62 75 74 65 20 69 73 20 22 22 20 6f 72 20 6e dge..If.the.attribute.is."".or.n
2460 6f 74 20 70 72 65 73 65 6e 74 2c 20 6e 6f 20 65 64 67 65 0a 20 20 20 20 20 20 20 20 6c 61 62 65 ot.present,.no.edge.........labe
2480 6c 20 69 73 20 64 72 61 77 6e 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 l.is.drawn..........Or.a.dict.ke
24a0 79 65 64 20 62 79 20 65 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 yed.by.edge.to.a.string.holding.
24c0 74 68 65 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 65 64 67 the.label.for.that.edge......edg
24e0 65 5f 6c 61 62 65 6c 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 e_label_options.:.string.or.dict
2500 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 .........The.name.of.the.edge.at
2520 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6c 61 tribute.on.`G`.that.holds.the.la
2540 62 65 6c 20 6f 70 74 69 6f 6e 73 20 66 6f 72 0a 20 20 20 20 20 20 20 20 65 61 63 68 20 65 64 67 bel.options.for.........each.edg
2560 65 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 22 5b 73 6c 6f 70 65 64 2c 61 62 6f 76 65 2c 62 e..For.example,."[sloped,above,b
2580 6c 75 65 5d 22 2e 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 6e 6f 20 6f 70 74 69 6f 6e 73 lue]"..The.default.is.no.options
25a0 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 65 64 67 ..........Or.a.dict.keyed.by.edg
25c0 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 20 e.to.a.string.holding.the.label.
25e0 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 0a 20 20 20 20 52 65 74 75 options.for.that.edge.......Retu
2600 72 6e 73 0a 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 6c 61 74 65 78 5f 63 6f 64 65 20 3a rns.....=======.....latex_code.:
2620 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 54 68 65 20 74 65 78 74 20 73 74 72 69 6e 67 20 77 .string........The.text.string.w
2640 68 69 63 68 20 64 72 61 77 73 20 74 68 65 20 64 65 73 69 72 65 64 20 67 72 61 70 68 28 73 29 20 hich.draws.the.desired.graph(s).
2660 77 68 65 6e 20 63 6f 6d 70 69 6c 65 64 20 62 79 20 4c 61 54 65 58 2e 0a 0a 20 20 20 20 53 65 65 when.compiled.by.LaTeX.......See
2680 20 41 6c 73 6f 0a 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 74 6f 5f 6c 61 74 65 78 0a .Also.....========.....to_latex.
26a0 20 20 20 20 77 72 69 74 65 5f 6c 61 74 65 78 0a 20 20 20 20 7a 05 0a 20 20 20 20 7a 09 0a 20 20 ....write_latex.....z......z....
26c0 20 20 20 20 20 20 fa 01 28 67 00 00 00 00 00 80 76 40 e9 03 00 00 00 7a 03 3a 32 29 7a 05 6e 6f ........(g......v@.....z.:2)z.no
26e0 64 65 20 7a 16 20 68 61 73 20 6e 6f 20 73 70 65 63 69 66 69 65 64 20 70 6f 73 20 7a 02 2c 20 fa de.z..has.no.specified.pos.z.,..
2700 01 29 7a 0d 70 6f 73 69 74 69 6f 6e 20 70 6f 73 5b 7a 1e 5d 20 69 73 20 6e 6f 74 20 32 2d 74 75 .)z.position.pos[z.].is.not.2-tu
2720 70 6c 65 20 6f 72 20 61 20 73 74 72 69 6e 67 3a 20 72 08 00 00 00 fa 01 5b 7a 02 5b 5d fa 01 5d ple.or.a.string:.r......[z.[]..]
2740 7a 02 2d 3e fa 01 2d fa 01 2c 7a 15 20 20 5c 62 65 67 69 6e 7b 74 69 6b 7a 70 69 63 74 75 72 65 z.->..-..,z...\begin{tikzpicture
2760 7d 7a 07 20 20 5c 64 72 61 77 fa 01 7b fa 01 7d 7a 05 20 6e 6f 64 65 7a 02 20 28 7a 02 3b 0a 7a }z...\draw..{..}z..nodez..(z.;.z
2780 13 20 20 20 20 20 20 5c 62 65 67 69 6e 7b 73 63 6f 70 65 7d 4e e9 02 00 00 00 da 04 6c 6f 6f 70 .......\begin{scope}N.......loop
27a0 7a 05 6c 6f 6f 70 2c 7a 02 20 7b 7a 05 5c 64 72 61 77 7a 04 29 20 74 6f 7a 02 29 3b 7a 29 0a 20 z.loop,z..{z.\drawz.).toz.);z)..
27c0 20 20 20 20 20 5c 65 6e 64 7b 73 63 6f 70 65 7d 0a 20 20 20 20 5c 65 6e 64 7b 74 69 6b 7a 70 69 .....\end{scope}.....\end{tikzpi
27e0 63 74 75 72 65 7d 0a 29 0f da 0a 69 73 69 6e 73 74 61 6e 63 65 da 04 64 69 63 74 da 02 6e 78 da cture}.)...isinstance..dict..nx.
2800 13 67 65 74 5f 6e 6f 64 65 5f 61 74 74 72 69 62 75 74 65 73 da 09 65 6e 75 6d 65 72 61 74 65 da .get_node_attributes..enumerate.
2820 05 72 6f 75 6e 64 da 03 6c 65 6e da 0d 4e 65 74 77 6f 72 6b 58 45 72 72 6f 72 da 03 73 74 72 da .round..len..NetworkXError..str.
2840 09 54 79 70 65 45 72 72 6f 72 da 0a 56 61 6c 75 65 45 72 72 6f 72 da 13 67 65 74 5f 65 64 67 65 .TypeError..ValueError..get_edge
2860 5f 61 74 74 72 69 62 75 74 65 73 da 05 73 74 72 69 70 da 0b 69 73 5f 64 69 72 65 63 74 65 64 da _attributes..strip..is_directed.
2880 05 65 64 67 65 73 29 20 da 01 47 72 07 00 00 00 da 0c 74 69 6b 7a 5f 6f 70 74 69 6f 6e 73 da 14 .edges)...Gr......tikz_options..
28a0 64 65 66 61 75 6c 74 5f 6e 6f 64 65 5f 6f 70 74 69 6f 6e 73 72 09 00 00 00 da 0a 6e 6f 64 65 5f default_node_optionsr......node_
28c0 6c 61 62 65 6c da 14 64 65 66 61 75 6c 74 5f 65 64 67 65 5f 6f 70 74 69 6f 6e 73 72 0a 00 00 00 label..default_edge_optionsr....
28e0 da 0a 65 64 67 65 5f 6c 61 62 65 6c 72 0b 00 00 00 da 02 69 34 da 02 69 38 da 01 69 da 01 6e da ..edge_labelr......i4..i8..i..n.
2900 04 6e 6f 64 65 da 07 70 6f 73 6e 6f 64 65 da 04 70 6f 73 78 da 04 70 6f 73 79 da 03 6d 73 67 da .node..posnode..posx..posy..msg.
2920 05 74 6f 70 74 73 da 04 64 65 66 6e da 09 6c 69 6e 65 73 74 79 6c 65 da 04 64 65 66 65 da 06 72 .topts..defn..linestyle..defe..r
2940 65 73 75 6c 74 da 05 6e 6f 70 74 73 da 05 6e 74 65 78 74 da 04 65 64 67 65 da 01 75 da 01 76 da esult..nopts..ntext..edge..u..v.
2960 06 65 5f 6f 70 74 73 da 03 65 6c 73 da 07 65 5f 6c 61 62 65 6c 73 20 00 00 00 20 20 20 20 20 20 .e_opts..els..e_labels..........
2980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 fa 60 2f 68 6f 6d ...........................`/hom
29a0 65 2f 62 6c 61 63 6b 68 61 6f 2f 75 69 75 63 2d 63 6f 75 72 73 65 2d 67 72 61 70 68 2f 2e 76 65 e/blackhao/uiuc-course-graph/.ve
29c0 6e 76 2f 6c 69 62 2f 70 79 74 68 6f 6e 33 2e 31 32 2f 73 69 74 65 2d 70 61 63 6b 61 67 65 73 2f nv/lib/python3.12/site-packages/
29e0 6e 65 74 77 6f 72 6b 78 2f 64 72 61 77 69 6e 67 2f 6e 78 5f 6c 61 74 65 78 2e 70 79 72 03 00 00 networkx/drawing/nx_latex.pyr...
2a00 00 72 03 00 00 00 8b 00 00 00 73 1d 04 00 00 80 00 f0 4e 02 00 0a 12 80 42 d8 09 15 80 42 f4 08 .r........s.......N.....B....B..
2a20 00 0c 16 90 63 9c 34 d4 0b 20 dc 0e 10 d7 0e 24 d1 0e 24 a0 51 a8 03 d3 0e 2c 88 03 d9 0b 0e e4 ....c.4........$..$.Q....,......
2a40 44 4d c8 61 c3 4c d7 0e 51 b9 44 b8 41 b8 71 88 71 90 41 94 65 98 45 a0 41 99 49 ac 03 a8 41 ab DM.a.L..Q.D.A.q.q.A.e.E.A.I...A.
2a60 06 d1 1c 2e b0 01 d3 16 32 d0 15 33 b0 33 d0 12 37 d1 0f 37 d0 0e 51 88 03 d1 0e 51 d8 10 11 f2 ........2..3.3..7..7..Q....Q....
2a80 00 0a 05 2c 88 04 d8 0b 0f 90 73 89 3f dc 12 14 d7 12 22 d1 12 22 a0 55 a8 34 a8 26 d0 30 46 c0 ...,......s.?....."..".U.4.&.0F.
2aa0 73 c0 65 d0 23 4c d3 12 4d d0 0c 4d d8 12 15 90 64 91 29 88 07 dc 0f 19 98 27 a4 33 d5 0f 27 f0 s.e.#L..M..M....d.)......'.3..'.
2ac0 02 05 0d 2c d8 1d 24 91 0a 90 04 90 64 d8 1e 1f a4 05 a0 64 a8 41 a3 0e d0 1f 2f a8 72 b4 25 b8 ...,..$.....d......d.A..../.r.%.
2ae0 04 b8 61 b3 2e d0 31 41 c0 11 d0 1c 43 90 03 90 44 92 09 f0 0f 0a 05 2c f4 1a 00 0c 16 90 6c a4 ..a...1A....C...D......,......l.
2b00 44 d4 0b 29 dc 17 19 d7 17 2d d1 17 2d a8 61 b0 1c d3 17 3e 88 0c dc 0b 15 90 6a a4 24 d4 0b 27 D..).....-..-.a....>......j.$..'
2b20 dc 15 17 d7 15 2b d1 15 2b a8 41 a8 7a d3 15 3a 88 0a dc 0b 15 90 6c a4 44 d4 0b 29 dc 17 19 d7 .....+..+.A.z..:......l.D..)....
2b40 17 2d d1 17 2d a8 61 b0 1c d3 17 3e 88 0c dc 0b 15 90 6a a4 24 d4 0b 27 dc 15 17 d7 15 2b d1 15 .-..-.a....>......j.$..'.....+..
2b60 2b a8 41 a8 7a d3 15 3a 88 0a dc 0b 15 d0 16 28 ac 24 d4 0b 2f dc 1d 1f d7 1d 33 d1 1d 33 b0 41 +.A.z..:.......(.$../.....3..3.A
2b80 d0 37 49 d3 1d 4a d0 08 1a f0 06 00 13 1f a0 22 d2 12 24 89 42 a8 41 a8 6c d7 2e 40 d1 2e 40 c0 .7I..J........."..$.B.A.l..@..@.
2ba0 14 d3 2e 46 d0 2d 47 c0 71 d0 2a 49 80 45 d8 11 25 a8 12 d2 11 2b 89 32 b0 31 d0 35 49 d7 35 4f ...F.-G.q.*I.E..%....+.2.1.5I.5O
2bc0 d1 35 4f d0 50 54 d3 35 55 d0 34 56 d0 56 57 d0 31 58 80 44 d8 1b 1c 9f 3d 99 3d 9c 3f 91 34 b0 .5O.PT.5U.4V.VW.1X.D....=.=.?.4.
2be0 03 d0 12 34 80 49 d8 07 1b 98 72 d2 07 21 d8 0f 12 90 59 89 7f a0 13 d1 0f 24 89 04 d8 09 0c d0 ...4.I....r..!....Y......$......
2c00 10 24 d1 09 24 d8 0f 23 89 04 e0 11 12 90 39 90 2b 98 51 d0 1f 33 d7 1f 39 d1 1f 39 b8 24 d3 1f .$..$..#......9.+.Q..3..9..9.$..
2c20 3f d0 1e 40 c0 01 d0 0f 42 88 04 f0 06 00 0e 26 a8 05 d1 0d 2d 80 46 d8 04 0a 88 62 90 3a 89 6f ?..@....B......&....-.F....b.:.o
2c40 a0 04 d1 0e 24 d1 04 24 80 46 e0 0d 0e f2 00 06 05 3c 88 01 e0 36 37 b8 3c d1 36 47 90 21 90 4c ....$..$.F.......<...67.<.6G.!.L
2c60 a0 11 91 4f d7 14 29 d1 14 29 a8 24 d3 14 2f d0 13 30 b0 01 d1 10 32 c8 52 88 05 e0 2a 2b a8 7a ...O..)..).$../..0....2.R...*+.z
2c80 a9 2f 90 22 90 5a a0 01 91 5d 90 4f a0 32 d1 10 26 c0 12 c0 41 c0 33 c0 62 b8 7a 88 05 e0 08 0e ./.".Z...].O.2..&...A.3.b.z.....
2ca0 90 22 98 23 98 61 99 26 98 18 a0 15 a0 75 a0 67 a8 52 b0 01 a8 73 b0 21 b0 45 b0 37 d0 17 3b d1 .".#.a.&.....u.g.R...s.!.E.7..;.
2cc0 12 3b d1 08 3b 89 06 f0 0d 06 05 3c f0 0e 00 05 0b 88 65 81 4f 80 46 f0 06 00 05 0b d0 0e 24 a0 .;..;......<......e.O.F.......$.
2ce0 74 d1 0e 2b d1 04 2b 80 46 d8 10 11 97 07 91 07 f2 00 0f 05 42 01 88 04 d8 0f 13 90 42 90 51 88 t..+..+.F...........B.......B.Q.
2d00 78 89 04 88 01 88 31 d8 38 3c c0 0c d1 38 4c 90 4c a0 14 d1 14 26 d0 13 27 d7 11 2e d1 11 2e a8 x.....1.8<...8L.L....&..'.......
2d20 74 d4 11 34 d0 52 54 88 06 e0 0b 0c 90 01 8a 36 90 66 a0 46 d1 16 2a d8 15 1c 98 76 d1 15 25 88 t..4.RT........6.f.F..*....v..%.
2d40 46 d8 22 28 a8 42 a2 2c 90 31 90 56 90 48 98 41 91 1d b0 42 88 06 f0 06 00 2b 2f d0 32 44 d1 2a F."(.B.,.1.V.H.A...B.....+/.2D.*
2d60 44 d0 0e 20 a0 14 d2 0e 26 c8 22 88 03 e0 10 11 90 23 97 29 91 29 98 44 93 2f d0 11 22 a0 21 d0 D.......&."......#.).).D./..".!.
2d80 0e 24 88 03 e0 3a 3e c0 2a d1 3a 4c 90 45 98 23 98 15 98 63 a0 2a a8 54 d1 22 32 d0 21 33 b0 32 .$...:>.*.:L.E.#...c.*.T."2.!3.2
2da0 d1 12 36 d0 52 54 88 07 e0 08 0e 90 22 98 16 a0 06 98 78 a0 72 a8 21 a8 13 a8 44 b0 17 b0 09 b8 ..6.RT......".....x.r.!...D.....
2dc0 12 b8 41 b8 33 b8 62 d0 17 41 d1 12 41 d1 08 41 89 06 f0 1f 0f 05 42 01 f0 22 00 05 0b d0 0e 3e ..A.3.b..A..A..A......B..".....>
2de0 d1 04 3e 80 46 d8 0b 11 80 4d f9 f3 4b 02 00 0f 52 01 f8 f4 12 00 15 1e 9c 7a d0 13 2a f2 00 02 ..>.F....M..K...R........z..*...
2e00 0d 2c d8 18 25 a0 64 a0 56 d0 2b 49 c8 27 c8 19 d0 16 53 90 03 dc 16 18 d7 16 26 d1 16 26 a0 73 .,..%.d.V.+I.'....S.......&..&.s
2e20 d3 16 2b d0 10 2b f0 05 02 0d 2c fa 73 11 00 00 00 bb 2a 4c 0a 06 c2 23 25 4c 10 02 cc 10 2d 4c ..+..+....,.s.....*L...#%L....-L
2e40 3d 05 7a 75 5c 64 6f 63 75 6d 65 6e 74 63 6c 61 73 73 7b 7b 72 65 70 6f 72 74 7d 7d 0a 5c 75 73 =.zu\documentclass{{report}}.\us
2e60 65 70 61 63 6b 61 67 65 7b 7b 74 69 6b 7a 7d 7d 0a 5c 75 73 65 70 61 63 6b 61 67 65 7b 7b 73 75 epackage{{tikz}}.\usepackage{{su
2e80 62 63 61 70 74 69 6f 6e 7d 7d 0a 0a 5c 62 65 67 69 6e 7b 7b 64 6f 63 75 6d 65 6e 74 7d 7d 0a 7b bcaption}}..\begin{{document}}.{
2ea0 63 6f 6e 74 65 6e 74 7d 0a 5c 65 6e 64 7b 7b 64 6f 63 75 6d 65 6e 74 7d 7d 7a 39 5c 62 65 67 69 content}.\end{{document}}z9\begi
2ec0 6e 7b 7b 66 69 67 75 72 65 7d 7d 0a 7b 63 6f 6e 74 65 6e 74 7d 7b 63 61 70 74 69 6f 6e 7d 7b 6c n{{figure}}.{content}{caption}{l
2ee0 61 62 65 6c 7d 0a 5c 65 6e 64 7b 7b 66 69 67 75 72 65 7d 7d 7a 57 20 20 5c 62 65 67 69 6e 7b 7b abel}.\end{{figure}}zW..\begin{{
2f00 73 75 62 66 69 67 75 72 65 7d 7d 7b 7b 7b 73 69 7a 65 7d 5c 74 65 78 74 77 69 64 74 68 7d 7d 0a subfigure}}{{{size}\textwidth}}.
2f20 7b 63 6f 6e 74 65 6e 74 7d 7b 63 61 70 74 69 6f 6e 7d 7b 6c 61 62 65 6c 7d 0a 20 20 5c 65 6e 64 {content}{caption}{label}...\end
2f40 7b 7b 73 75 62 66 69 67 75 72 65 7d 7d 72 2a 00 00 00 72 2c 00 00 00 e9 01 00 00 00 54 63 13 00 {{subfigure}}r*...r,........Tc..
2f60 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 03 00 00 00 f3 9e 02 00 00 97 00 74 01 00 00 00 00 00 .........................t......
2f80 00 00 00 7c 00 64 01 ab 02 00 00 00 00 00 00 72 15 74 03 00 00 00 00 00 00 00 00 7c 00 7c 01 7c ...|.d.........r.t.........|.|.|
2fa0 02 7c 03 7c 04 7c 05 7c 06 7c 07 7c 08 7c 09 ab 0a 00 00 00 00 00 00 7d 13 6e ea 7c 12 7d 14 64 .|.|.|.|.|.|.|.........}.n.|.}.d
2fc0 02 7c 0e 7a 0b 00 00 7d 15 74 05 00 00 00 00 00 00 00 00 7c 00 ab 01 00 00 00 00 00 00 7d 16 74 .|.z...}.t.........|.........}.t
2fe0 07 00 00 00 00 00 00 00 00 7c 01 74 08 00 00 00 00 00 00 00 00 74 0a 00 00 00 00 00 00 00 00 7a .........|.t.........t.........z
3000 07 00 00 ab 02 00 00 00 00 00 00 72 06 7c 01 67 01 7c 16 7a 05 00 00 7d 01 7c 0c 80 06 64 04 67 ...........r.|.g.|.z...}.|...d.g
3020 01 7c 16 7a 05 00 00 7d 0c 7c 0d 80 06 64 04 67 01 7c 16 7a 05 00 00 7d 0d 74 05 00 00 00 00 00 .|.z...}.|...d.g.|.z...}.t......
3040 00 00 00 7c 00 ab 01 00 00 00 00 00 00 74 05 00 00 00 00 00 00 00 00 7c 01 ab 01 00 00 00 00 00 ...|.........t.........|........
3060 00 63 02 78 02 6b 28 00 00 72 1d 74 05 00 00 00 00 00 00 00 00 7c 0c ab 01 00 00 00 00 00 00 63 .c.x.k(..r.t.........|.........c
3080 02 78 02 6b 28 00 00 72 0e 74 05 00 00 00 00 00 00 00 00 7c 0d ab 01 00 00 00 00 00 00 6b 28 00 .x.k(..r.t.........|.........k(.
30a0 00 73 17 6e 01 01 00 74 0d 00 00 00 00 00 00 00 00 6a 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 .s.n...t.........j..............
30c0 00 00 00 00 00 64 05 ab 01 00 00 00 00 00 00 82 01 64 04 7d 13 74 11 00 00 00 00 00 00 00 00 7c .....d...........d.}.t.........|
30e0 00 7c 01 7c 0c 7c 0d ab 04 00 00 00 00 00 00 44 00 5d 4c 00 00 5c 04 00 00 7d 17 7d 01 7d 18 7d .|.|.|.........D.]L..\...}.}.}.}
3100 19 74 03 00 00 00 00 00 00 00 00 7c 17 7c 01 7c 02 7c 03 7c 04 7c 05 7c 06 7c 07 7c 08 7c 09 ab .t.........|.|.|.|.|.|.|.|.|.|..
3120 0a 00 00 00 00 00 00 7d 1a 7c 18 72 06 64 06 7c 18 9b 00 64 07 9d 03 6e 01 64 04 7d 1b 7c 19 72 .......}.|.r.d.|...d...n.d.}.|.r
3140 06 64 08 7c 19 9b 00 64 07 9d 03 6e 01 64 04 7d 1c 7c 13 7c 14 6a 13 00 00 00 00 00 00 00 00 00 .d.|...d...n.d.}.|.|.j..........
3160 00 00 00 00 00 00 00 00 00 7c 15 7c 1a 7c 1b 7c 1c ac 09 ab 04 00 00 00 00 00 00 7a 0d 00 00 7d .........|.|.|.|...........z...}
3180 13 7c 13 64 0a 7a 0d 00 00 7d 13 8c 4e 04 00 7c 13 64 03 64 0b 1a 00 7d 13 7c 0a 72 06 64 0c 7c .|.d.z...}..N..|.d.d...}.|.r.d.|
31a0 0a 9b 00 64 07 9d 03 6e 01 64 04 7d 1b 7c 0b 72 06 64 08 7c 0b 9b 00 64 07 9d 03 6e 01 64 04 7d ...d...n.d.}.|.r.d.|...d...n.d.}
31c0 1c 7c 11 6a 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 13 7c 1b 7c 1c ac 0d ab .|.j...................|.|.|....
31e0 03 00 00 00 00 00 00 7d 1d 7c 0f 72 12 7c 10 6a 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .......}.|.r.|.j................
3200 00 00 00 7c 1d ac 0e ab 01 00 00 00 00 00 00 53 00 7c 1d 53 00 29 0f 61 5a 13 00 00 52 65 74 75 ...|...........S.|.S.).aZ...Retu
3220 72 6e 20 6c 61 74 65 78 20 63 6f 64 65 20 74 6f 20 64 72 61 77 20 74 68 65 20 67 72 61 70 68 28 rn.latex.code.to.draw.the.graph(
3240 73 29 20 69 6e 20 60 47 62 75 6e 63 68 60 0a 0a 20 20 20 20 54 68 65 20 54 69 6b 5a 20 64 72 61 s).in.`Gbunch`......The.TikZ.dra
3260 77 69 6e 67 20 75 74 69 6c 69 74 79 20 69 6e 20 4c 61 54 65 58 20 69 73 20 75 73 65 64 20 74 6f wing.utility.in.LaTeX.is.used.to
3280 20 64 72 61 77 20 74 68 65 20 67 72 61 70 68 28 73 29 2e 0a 20 20 20 20 49 66 20 60 47 62 75 6e .draw.the.graph(s)......If.`Gbun
32a0 63 68 60 20 69 73 20 61 20 67 72 61 70 68 2c 20 69 74 20 69 73 20 64 72 61 77 6e 20 69 6e 20 61 ch`.is.a.graph,.it.is.drawn.in.a
32c0 20 66 69 67 75 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0a 20 20 20 20 49 66 20 60 47 62 75 .figure.environment......If.`Gbu
32e0 6e 63 68 60 20 69 73 20 61 6e 20 69 74 65 72 61 62 6c 65 20 6f 66 20 67 72 61 70 68 73 2c 20 65 nch`.is.an.iterable.of.graphs,.e
3300 61 63 68 20 69 73 20 64 72 61 77 6e 20 69 6e 20 61 20 73 75 62 66 69 67 75 72 65 20 65 6e 76 69 ach.is.drawn.in.a.subfigure.envi
3320 72 6f 6e 6d 65 6e 74 0a 20 20 20 20 77 69 74 68 69 6e 20 61 20 73 69 6e 67 6c 65 20 66 69 67 75 ronment.....within.a.single.figu
3340 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0a 0a 20 20 20 20 49 66 20 60 61 73 5f 64 6f 63 75 re.environment.......If.`as_docu
3360 6d 65 6e 74 60 20 69 73 20 54 72 75 65 2c 20 74 68 65 20 66 69 67 75 72 65 20 69 73 20 77 72 61 ment`.is.True,.the.figure.is.wra
3380 70 70 65 64 20 69 6e 73 69 64 65 20 61 20 64 6f 63 75 6d 65 6e 74 20 65 6e 76 69 72 6f 6e 6d 65 pped.inside.a.document.environme
33a0 6e 74 0a 20 20 20 20 73 6f 20 74 68 61 74 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 73 74 72 nt.....so.that.the.resulting.str
33c0 69 6e 67 20 69 73 20 72 65 61 64 79 20 74 6f 20 62 65 20 63 6f 6d 70 69 6c 65 64 20 62 79 20 4c ing.is.ready.to.be.compiled.by.L
33e0 61 54 65 58 2e 20 4f 74 68 65 72 77 69 73 65 2c 0a 20 20 20 20 74 68 65 20 73 74 72 69 6e 67 20 aTeX..Otherwise,.....the.string.
3400 69 73 20 72 65 61 64 79 20 66 6f 72 20 69 6e 63 6c 75 73 69 6f 6e 20 69 6e 20 61 20 6c 61 72 67 is.ready.for.inclusion.in.a.larg
3420 65 72 20 74 65 78 20 64 6f 63 75 6d 65 6e 74 20 75 73 69 6e 67 20 60 60 5c 69 6e 63 6c 75 64 65 er.tex.document.using.``\include
3440 60 60 0a 20 20 20 20 6f 72 20 60 60 5c 69 6e 70 75 74 60 60 20 73 74 61 74 65 6d 65 6e 74 73 2e ``.....or.``\input``.statements.
3460 0a 0a 20 20 20 20 50 61 72 61 6d 65 74 65 72 73 0a 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a ......Parameters.....==========.
3480 20 20 20 20 47 62 75 6e 63 68 20 3a 20 4e 65 74 77 6f 72 6b 58 20 67 72 61 70 68 20 6f 72 20 69 ....Gbunch.:.NetworkX.graph.or.i
34a0 74 65 72 61 62 6c 65 20 6f 66 20 4e 65 74 77 6f 72 6b 58 20 67 72 61 70 68 73 0a 20 20 20 20 20 terable.of.NetworkX.graphs......
34c0 20 20 20 54 68 65 20 4e 65 74 77 6f 72 6b 58 20 67 72 61 70 68 20 74 6f 20 62 65 20 64 72 61 77 ...The.NetworkX.graph.to.be.draw
34e0 6e 20 6f 72 20 61 6e 20 69 74 65 72 61 62 6c 65 20 6f 66 20 67 72 61 70 68 73 0a 20 20 20 20 20 n.or.an.iterable.of.graphs......
3500 20 20 20 74 6f 20 62 65 20 64 72 61 77 6e 20 69 6e 73 69 64 65 20 73 75 62 66 69 67 75 72 65 73 ...to.be.drawn.inside.subfigures
3520 20 6f 66 20 61 20 73 69 6e 67 6c 65 20 66 69 67 75 72 65 2e 0a 20 20 20 20 70 6f 73 20 3a 20 73 .of.a.single.figure......pos.:.s
3540 74 72 69 6e 67 20 6f 72 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 20 tring.or.list.of.strings........
3560 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 75 74 65 20 .The.name.of.the.node.attribute.
3580 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 6f on.`G`.that.holds.the.position.o
35a0 66 20 65 61 63 68 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 50 6f 73 69 74 69 6f 6e 73 20 63 f.each.node..........Positions.c
35c0 61 6e 20 62 65 20 73 65 71 75 65 6e 63 65 73 20 6f 66 20 6c 65 6e 67 74 68 20 32 20 77 69 74 68 an.be.sequences.of.length.2.with
35e0 20 6e 75 6d 62 65 72 73 20 66 6f 72 20 28 78 2c 79 29 20 63 6f 6f 72 64 69 6e 61 74 65 73 2e 0a .numbers.for.(x,y).coordinates..
3600 20 20 20 20 20 20 20 20 54 68 65 79 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 73 74 72 69 6e 67 73 ........They.can.also.be.strings
3620 20 74 6f 20 64 65 6e 6f 74 65 20 70 6f 73 69 74 69 6f 6e 73 20 69 6e 20 54 69 6b 5a 20 73 74 79 .to.denote.positions.in.TikZ.sty
3640 6c 65 2c 20 73 75 63 68 20 61 73 20 28 78 2c 20 79 29 0a 20 20 20 20 20 20 20 20 6f 72 20 28 61 le,.such.as.(x,.y).........or.(a
3660 6e 67 6c 65 3a 72 61 64 69 75 73 29 2e 0a 20 20 20 20 20 20 20 20 49 66 20 61 20 64 69 63 74 2c ngle:radius)..........If.a.dict,
3680 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 .it.should.be.keyed.by.node.to.a
36a0 20 70 6f 73 69 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 49 66 20 61 6e 20 65 6d 70 74 79 20 64 .position..........If.an.empty.d
36c0 69 63 74 2c 20 61 20 63 69 72 63 75 6c 61 72 20 6c 61 79 6f 75 74 20 69 73 20 63 6f 6d 70 75 74 ict,.a.circular.layout.is.comput
36e0 65 64 20 62 79 20 54 69 6b 5a 2e 0a 20 20 20 20 20 20 20 20 49 66 20 79 6f 75 20 61 72 65 20 64 ed.by.TikZ..........If.you.are.d
3700 72 61 77 69 6e 67 20 6d 61 6e 79 20 67 72 61 70 68 73 20 69 6e 20 73 75 62 66 69 67 75 72 65 73 rawing.many.graphs.in.subfigures
3720 2c 20 75 73 65 20 61 20 6c 69 73 74 20 6f 66 20 70 6f 73 69 74 69 6f 6e 20 64 69 63 74 73 2e 0a ,.use.a.list.of.position.dicts..
3740 20 20 20 20 74 69 6b 7a 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 ....tikz_options.:.string.......
3760 20 20 54 68 65 20 74 69 6b 7a 70 69 63 74 75 72 65 20 6f 70 74 69 6f 6e 73 20 64 65 73 63 72 69 ..The.tikzpicture.options.descri
3780 70 74 69 6f 6e 20 64 65 66 69 6e 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 ption.defining.the.options.for.t
37a0 68 65 20 70 69 63 74 75 72 65 2e 0a 20 20 20 20 20 20 20 20 4f 66 74 65 6e 20 6c 61 72 67 65 20 he.picture..........Often.large.
37c0 73 63 61 6c 65 20 6f 70 74 69 6f 6e 73 20 6c 69 6b 65 20 60 5b 73 63 61 6c 65 3d 32 5d 60 2e 0a scale.options.like.`[scale=2]`..
37e0 20 20 20 20 64 65 66 61 75 6c 74 5f 6e 6f 64 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e ....default_node_options.:.strin
3800 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 64 72 61 77 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 61 g.........The.draw.options.for.a
3820 20 70 61 74 68 20 6f 66 20 6e 6f 64 65 73 2e 20 49 6e 64 69 76 69 64 75 61 6c 20 6e 6f 64 65 20 .path.of.nodes..Individual.node.
3840 6f 70 74 69 6f 6e 73 20 6f 76 65 72 72 69 64 65 20 74 68 65 73 65 2e 0a 20 20 20 20 6e 6f 64 65 options.override.these......node
3860 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 _options.:.string.or.dict.......
3880 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 75 74 65 ..The.name.of.the.node.attribute
38a0 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 .on.`G`.that.holds.the.options.f
38c0 6f 72 20 65 61 63 68 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 or.each.node..........Or.a.dict.
38e0 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e keyed.by.node.to.a.string.holdin
3900 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 6e 6f 64 65 2e 0a 20 20 20 g.the.options.for.that.node.....
3920 20 6e 6f 64 65 5f 6c 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 .node_label.:.string.or.dict....
3940 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 .....The.name.of.the.node.attrib
3960 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6e 6f 64 65 20 6c ute.on.`G`.that.holds.the.node.l
3980 61 62 65 6c 20 28 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 65 64 20 66 6f abel.(text).........displayed.fo
39a0 72 20 65 61 63 68 20 6e 6f 64 65 2e 20 49 66 20 74 68 65 20 61 74 74 72 69 62 75 74 65 20 69 73 r.each.node..If.the.attribute.is
39c0 20 22 22 20 6f 72 20 6e 6f 74 20 70 72 65 73 65 6e 74 2c 20 74 68 65 20 6e 6f 64 65 0a 20 20 20 ."".or.not.present,.the.node....
39e0 20 20 20 20 20 69 74 73 65 6c 66 20 69 73 20 64 72 61 77 6e 20 61 73 20 61 20 73 74 72 69 6e 67 .....itself.is.drawn.as.a.string
3a00 2e 20 4c 61 54 65 58 20 70 72 6f 63 65 73 73 69 6e 67 20 73 75 63 68 20 61 73 20 60 60 22 24 41 ..LaTeX.processing.such.as.``"$A
3a20 5f 31 24 22 60 60 20 69 73 20 61 6c 6c 6f 77 65 64 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 _1$"``.is.allowed..........Or.a.
3a40 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 dict.keyed.by.node.to.a.string.h
3a60 6f 6c 64 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 6e 6f 64 65 2e 0a olding.the.label.for.that.node..
3a80 20 20 20 20 64 65 66 61 75 6c 74 5f 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e ....default_edge_options.:.strin
3aa0 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 73 63 g.........The.options.for.the.sc
3ac0 6f 70 65 20 64 72 61 77 69 6e 67 20 61 6c 6c 20 65 64 67 65 73 2e 20 54 68 65 20 64 65 66 61 75 ope.drawing.all.edges..The.defau
3ae0 6c 74 20 69 73 20 22 5b 2d 5d 22 20 66 6f 72 0a 20 20 20 20 20 20 20 20 75 6e 64 69 72 65 63 74 lt.is."[-]".for.........undirect
3b00 65 64 20 67 72 61 70 68 73 20 61 6e 64 20 22 5b 2d 3e 5d 22 20 66 6f 72 20 64 69 72 65 63 74 65 ed.graphs.and."[->]".for.directe
3b20 64 20 67 72 61 70 68 73 2e 0a 20 20 20 20 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 d.graphs......edge_options.:.str
3b40 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 ing.or.dict.........The.name.of.
3b60 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 the.edge.attribute.on.`G`.that.h
3b80 6f 6c 64 73 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 65 61 63 68 20 65 64 67 65 2e 0a olds.the.options.for.each.edge..
3ba0 20 20 20 20 20 20 20 20 49 66 20 74 68 65 20 65 64 67 65 20 69 73 20 61 20 73 65 6c 66 2d 6c 6f ........If.the.edge.is.a.self-lo
3bc0 6f 70 20 61 6e 64 20 60 60 22 6c 6f 6f 70 22 20 6e 6f 74 20 69 6e 20 65 64 67 65 5f 6f 70 74 69 op.and.``"loop".not.in.edge_opti
3be0 6f 6e 73 60 60 20 74 68 65 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 22 6c 6f 6f 70 2c 22 ons``.the.option........."loop,"
3c00 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 .is.added.to.the.options.for.the
3c20 20 73 65 6c 66 2d 6c 6f 6f 70 20 65 64 67 65 2e 20 48 65 6e 63 65 20 79 6f 75 20 63 61 6e 0a 20 .self-loop.edge..Hence.you.can..
3c40 20 20 20 20 20 20 20 75 73 65 20 22 5b 6c 6f 6f 70 20 61 62 6f 76 65 5d 22 20 65 78 70 6c 69 63 .......use."[loop.above]".explic
3c60 69 74 6c 79 2c 20 62 75 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 22 5b 6c 6f 6f 70 5d itly,.but.the.default.is."[loop]
3c80 22 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 65 64 "..........Or.a.dict.keyed.by.ed
3ca0 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6f 70 74 69 6f ge.to.a.string.holding.the.optio
3cc0 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 65 64 67 65 5f 6c 61 62 65 6c ns.for.that.edge......edge_label
3ce0 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 .:.string.or.dict.........The.na
3d00 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 me.of.the.edge.attribute.on.`G`.
3d20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 65 64 67 65 20 6c 61 62 65 6c 20 28 74 65 78 74 29 that.holds.the.edge.label.(text)
3d40 0a 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 65 64 20 66 6f 72 20 65 61 63 68 20 65 64 67 65 .........displayed.for.each.edge
3d60 2e 20 49 66 20 74 68 65 20 61 74 74 72 69 62 75 74 65 20 69 73 20 22 22 20 6f 72 20 6e 6f 74 20 ..If.the.attribute.is."".or.not.
3d80 70 72 65 73 65 6e 74 2c 20 6e 6f 20 65 64 67 65 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 69 present,.no.edge.........label.i
3da0 73 20 64 72 61 77 6e 2e 0a 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 s.drawn..........Or.a.dict.keyed
3dc0 20 62 79 20 65 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 .by.edge.to.a.string.holding.the
3de0 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 65 64 67 65 5f 6c .label.for.that.edge......edge_l
3e00 61 62 65 6c 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 abel_options.:.string.or.dict...
3e20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 ......The.name.of.the.edge.attri
3e40 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6c 61 62 65 6c bute.on.`G`.that.holds.the.label
3e60 20 6f 70 74 69 6f 6e 73 20 66 6f 72 0a 20 20 20 20 20 20 20 20 65 61 63 68 20 65 64 67 65 2e 20 .options.for.........each.edge..
3e80 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 22 5b 73 6c 6f 70 65 64 2c 61 62 6f 76 65 2c 62 6c 75 65 For.example,."[sloped,above,blue
3ea0 5d 22 2e 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 6e 6f 20 6f 70 74 69 6f 6e 73 2e 0a 20 ]"..The.default.is.no.options...
3ec0 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 65 64 67 65 20 74 .......Or.a.dict.keyed.by.edge.t
3ee0 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 20 6f 70 74 o.a.string.holding.the.label.opt
3f00 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 63 61 70 74 69 6f 6e 20 ions.for.that.edge......caption.
3f20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 63 61 70 74 69 6f 6e 20 73 74 72 :.string.........The.caption.str
3f40 69 6e 67 20 66 6f 72 20 74 68 65 20 66 69 67 75 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 0a 20 ing.for.the.figure.environment..
3f60 20 20 20 6c 61 74 65 78 5f 6c 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 ...latex_label.:.string.........
3f80 54 68 65 20 6c 61 74 65 78 20 6c 61 62 65 6c 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 66 69 67 The.latex.label.used.for.the.fig
3fa0 75 72 65 20 66 6f 72 20 65 61 73 79 20 72 65 66 65 72 72 61 6c 20 66 72 6f 6d 20 74 68 65 20 6d ure.for.easy.referral.from.the.m
3fc0 61 69 6e 20 74 65 78 74 0a 20 20 20 20 73 75 62 5f 63 61 70 74 69 6f 6e 73 20 3a 20 6c 69 73 74 ain.text.....sub_captions.:.list
3fe0 20 6f 66 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 20 20 54 68 65 20 73 75 62 5f 63 61 70 74 .of.strings.........The.sub_capt
4000 69 6f 6e 20 73 74 72 69 6e 67 20 66 6f 72 20 65 61 63 68 20 73 75 62 66 69 67 75 72 65 20 69 6e ion.string.for.each.subfigure.in
4020 20 74 68 65 20 66 69 67 75 72 65 0a 20 20 20 20 73 75 62 5f 6c 61 74 65 78 5f 6c 61 62 65 6c 73 .the.figure.....sub_latex_labels
4040 20 3a 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 20 20 54 68 65 20 6c .:.list.of.strings.........The.l
4060 61 74 65 78 20 6c 61 62 65 6c 20 66 6f 72 20 65 61 63 68 20 73 75 62 66 69 67 75 72 65 20 69 6e atex.label.for.each.subfigure.in
4080 20 74 68 65 20 66 69 67 75 72 65 0a 20 20 20 20 6e 5f 72 6f 77 73 20 3a 20 69 6e 74 0a 20 20 20 .the.figure.....n_rows.:.int....
40a0 20 20 20 20 20 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 72 6f 77 73 20 6f 66 20 73 75 62 66 69 .....The.number.of.rows.of.subfi
40c0 67 75 72 65 73 20 74 6f 20 61 72 72 61 6e 67 65 20 66 6f 72 20 6d 75 6c 74 69 70 6c 65 20 67 72 gures.to.arrange.for.multiple.gr
40e0 61 70 68 73 0a 20 20 20 20 61 73 5f 64 6f 63 75 6d 65 6e 74 20 3a 20 62 6f 6f 6c 0a 20 20 20 20 aphs.....as_document.:.bool.....
4100 20 20 20 20 57 68 65 74 68 65 72 20 74 6f 20 77 72 61 70 20 74 68 65 20 6c 61 74 65 78 20 63 6f ....Whether.to.wrap.the.latex.co
4120 64 65 20 69 6e 20 61 20 64 6f 63 75 6d 65 6e 74 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 66 6f 72 de.in.a.document.environment.for
4140 20 63 6f 6d 70 69 6c 69 6e 67 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 5f 77 72 61 70 70 65 72 20 .compiling.....document_wrapper.
4160 3a 20 66 6f 72 6d 61 74 74 65 64 20 74 65 78 74 20 73 74 72 69 6e 67 20 77 69 74 68 20 76 61 72 :.formatted.text.string.with.var
4180 69 61 62 6c 65 20 60 60 63 6f 6e 74 65 6e 74 60 60 2e 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 iable.``content``..........This.
41a0 74 65 78 74 20 69 73 20 63 61 6c 6c 65 64 20 74 6f 20 65 76 61 6c 75 61 74 65 20 74 68 65 20 63 text.is.called.to.evaluate.the.c
41c0 6f 6e 74 65 6e 74 20 65 6d 62 65 64 64 65 64 20 69 6e 20 61 20 64 6f 63 75 6d 65 6e 74 0a 20 20 ontent.embedded.in.a.document...
41e0 20 20 20 20 20 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 77 69 74 68 20 61 20 70 72 65 61 6d 62 6c ......environment.with.a.preambl
4200 65 20 73 65 74 74 69 6e 67 20 75 70 20 54 69 6b 5a 2e 0a 20 20 20 20 66 69 67 75 72 65 5f 77 72 e.setting.up.TikZ......figure_wr
4220 61 70 70 65 72 20 3a 20 66 6f 72 6d 61 74 74 65 64 20 74 65 78 74 20 73 74 72 69 6e 67 0a 20 20 apper.:.formatted.text.string...
4240 20 20 20 20 20 20 54 68 69 73 20 74 65 78 74 20 69 73 20 65 76 61 6c 75 61 74 65 64 20 77 69 74 ......This.text.is.evaluated.wit
4260 68 20 76 61 72 69 61 62 6c 65 73 20 60 60 63 6f 6e 74 65 6e 74 60 60 2c 20 60 60 63 61 70 74 69 h.variables.``content``,.``capti
4280 6f 6e 60 60 20 61 6e 64 20 60 60 6c 61 62 65 6c 60 60 2e 0a 20 20 20 20 20 20 20 20 49 74 20 77 on``.and.``label``..........It.w
42a0 72 61 70 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 61 6e 64 20 69 66 20 61 20 63 61 70 74 69 6f raps.the.content.and.if.a.captio
42c0 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 64 73 20 74 68 65 20 6c 61 74 65 78 20 63 6f n.is.provided,.adds.the.latex.co
42e0 64 65 20 66 6f 72 0a 20 20 20 20 20 20 20 20 74 68 61 74 20 63 61 70 74 69 6f 6e 2c 20 61 6e 64 de.for.........that.caption,.and
4300 20 69 66 20 61 20 6c 61 62 65 6c 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 64 73 20 74 68 .if.a.label.is.provided,.adds.th
4320 65 20 6c 61 74 65 78 20 63 6f 64 65 20 66 6f 72 20 61 20 6c 61 62 65 6c 2e 0a 20 20 20 20 73 75 e.latex.code.for.a.label......su
4340 62 66 69 67 75 72 65 5f 77 72 61 70 70 65 72 20 3a 20 66 6f 72 6d 61 74 74 65 64 20 74 65 78 74 bfigure_wrapper.:.formatted.text
4360 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 74 65 78 74 20 65 76 61 6c 75 61 .string.........This.text.evalua
4380 74 65 20 76 61 72 69 61 62 6c 65 73 20 60 60 73 69 7a 65 60 60 2c 20 60 60 63 6f 6e 74 65 6e 74 te.variables.``size``,.``content
43a0 60 60 2c 20 60 60 63 61 70 74 69 6f 6e 60 60 20 61 6e 64 20 60 60 6c 61 62 65 6c 60 60 2e 0a 20 ``,.``caption``.and.``label``...
43c0 20 20 20 20 20 20 20 49 74 20 77 72 61 70 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 61 6e 64 20 .......It.wraps.the.content.and.
43e0 69 66 20 61 20 63 61 70 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 64 73 20 74 if.a.caption.is.provided,.adds.t
4400 68 65 20 6c 61 74 65 78 20 63 6f 64 65 20 66 6f 72 0a 20 20 20 20 20 20 20 20 74 68 61 74 20 63 he.latex.code.for.........that.c
4420 61 70 74 69 6f 6e 2c 20 61 6e 64 20 69 66 20 61 20 6c 61 62 65 6c 20 69 73 20 70 72 6f 76 69 64 aption,.and.if.a.label.is.provid
4440 65 64 2c 20 61 64 64 73 20 74 68 65 20 6c 61 74 65 78 20 63 6f 64 65 20 66 6f 72 20 61 20 6c 61 ed,.adds.the.latex.code.for.a.la
4460 62 65 6c 2e 0a 20 20 20 20 20 20 20 20 54 68 65 20 73 69 7a 65 20 69 73 20 74 68 65 20 76 65 72 bel..........The.size.is.the.ver
4480 74 69 63 61 6c 20 73 69 7a 65 20 6f 66 20 65 61 63 68 20 72 6f 77 20 6f 66 20 73 75 62 66 69 67 tical.size.of.each.row.of.subfig
44a0 75 72 65 73 20 61 73 20 61 20 66 72 61 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 52 65 74 75 72 6e 73 ures.as.a.fraction.......Returns
44c0 0a 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 6c 61 74 65 78 5f 63 6f 64 65 20 3a 20 73 74 .....=======.....latex_code.:.st
44e0 72 69 6e 67 0a 20 20 20 20 20 20 20 20 54 68 65 20 74 65 78 74 20 73 74 72 69 6e 67 20 77 68 69 ring.........The.text.string.whi
4500 63 68 20 64 72 61 77 73 20 74 68 65 20 64 65 73 69 72 65 64 20 67 72 61 70 68 28 73 29 20 77 68 ch.draws.the.desired.graph(s).wh
4520 65 6e 20 63 6f 6d 70 69 6c 65 64 20 62 79 20 4c 61 54 65 58 2e 0a 0a 20 20 20 20 53 65 65 20 41 en.compiled.by.LaTeX.......See.A
4540 6c 73 6f 0a 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 77 72 69 74 65 5f 6c 61 74 65 78 lso.....========.....write_latex
4560 0a 20 20 20 20 74 6f 5f 6c 61 74 65 78 5f 72 61 77 0a 20 20 20 20 da 03 61 64 6a 72 44 00 00 00 .....to_latex_raw.......adjrD...
4580 4e 72 08 00 00 00 7a 39 6c 65 6e 67 74 68 20 6f 66 20 47 62 75 6e 63 68 2c 20 73 75 62 5f 63 61 Nr....z9length.of.Gbunch,.sub_ca
45a0 70 74 69 6f 6e 73 20 61 6e 64 20 73 75 62 5f 66 69 67 75 72 65 73 20 6d 75 73 74 20 61 67 72 65 ptions.and.sub_figures.must.agre
45c0 65 7a 0d 20 20 20 20 5c 63 61 70 74 69 6f 6e 7b 72 15 00 00 00 7a 07 5c 6c 61 62 65 6c 7b 29 04 ez.....\caption{r....z.\label{).
45e0 da 04 73 69 7a 65 da 07 63 6f 6e 74 65 6e 74 da 07 63 61 70 74 69 6f 6e da 05 6c 61 62 65 6c fa ..size..content..caption..label.
4600 01 0a e9 ff ff ff ff 7a 0c 0a 20 20 5c 63 61 70 74 69 6f 6e 7b 29 03 72 48 00 00 00 72 49 00 00 .......z....\caption{).rH...rI..
4620 00 72 4a 00 00 00 29 01 72 48 00 00 00 29 0a da 07 68 61 73 61 74 74 72 72 03 00 00 00 72 1e 00 .rJ...).rH...)...hasattrr....r..
4640 00 00 72 18 00 00 00 72 20 00 00 00 72 19 00 00 00 72 1a 00 00 00 72 1f 00 00 00 da 03 7a 69 70 ..r....r....r....r....r......zip
4660 da 06 66 6f 72 6d 61 74 29 1e da 06 47 62 75 6e 63 68 72 07 00 00 00 72 28 00 00 00 72 29 00 00 ..format)...Gbunchr....r(...r)..
4680 00 72 09 00 00 00 72 2a 00 00 00 72 2b 00 00 00 72 0a 00 00 00 72 2c 00 00 00 72 0b 00 00 00 72 .r....r*...r+...r....r,...r....r
46a0 49 00 00 00 da 0b 6c 61 74 65 78 5f 6c 61 62 65 6c da 0c 73 75 62 5f 63 61 70 74 69 6f 6e 73 da I.....latex_label..sub_captions.
46c0 0a 73 75 62 5f 6c 61 62 65 6c 73 da 06 6e 5f 72 6f 77 73 da 0b 61 73 5f 64 6f 63 75 6d 65 6e 74 .sub_labels..n_rows..as_document
46e0 da 10 64 6f 63 75 6d 65 6e 74 5f 77 72 61 70 70 65 72 da 0e 66 69 67 75 72 65 5f 77 72 61 70 70 ..document_wrapper..figure_wrapp
4700 65 72 da 11 73 75 62 66 69 67 75 72 65 5f 77 72 61 70 70 65 72 da 03 72 61 77 da 03 73 62 66 72 er..subfigure_wrapper..raw..sbfr
4720 47 00 00 00 da 01 4e 72 27 00 00 00 da 06 73 75 62 63 61 70 da 06 73 75 62 6c 62 6c da 06 73 75 G.....Nr'.....subcap..sublbl..su
4740 62 72 61 77 da 03 63 61 70 da 03 6c 62 6c da 03 66 69 67 73 1e 00 00 00 20 20 20 20 20 20 20 20 braw..cap..lbl..figs............
4760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 43 00 00 00 72 04 00 00 00 ......................rC...r....
4780 72 04 00 00 00 36 01 00 00 73 c4 01 00 00 80 00 f4 60 03 00 08 0f 88 76 90 75 d4 07 1d dc 0e 1a r....6...s.......`.....v.u......
47a0 d8 0c 12 d8 0c 0f d8 0c 18 d8 0c 20 d8 0c 18 d8 0c 16 d8 0c 20 d8 0c 18 d8 0c 16 d8 0c 1e f3 15 ................................
47c0 0b 0f 0a 89 03 f0 1a 00 0f 20 88 03 d8 0f 10 90 36 89 7a 88 04 e4 0c 0f 90 06 8b 4b 88 01 dc 0b ................6.z........K....
47e0 15 90 63 9c 33 a4 14 99 3a d4 0b 26 d8 13 16 90 25 98 21 91 29 88 43 d8 0b 17 d0 0b 1f d8 1c 1e ..c.3...:..&....%.!.).C.........
4800 98 34 a0 21 99 38 88 4c d8 0b 15 d0 0b 1d d8 1a 1c 98 14 a0 01 99 18 88 4a dc 10 13 90 46 93 0b .4.!.8.L................J....F..
4820 9c 73 a0 33 9b 78 d4 10 4f ac 33 a8 7c d3 2b 3c d4 10 4f c4 03 c0 4a c3 0f d4 10 4f dc 12 14 d7 .s.3.x..O.3.|.+<..O...J....O....
4840 12 22 d1 12 22 d8 10 4b f3 03 02 13 0e f0 00 02 0d 0e f0 08 00 0f 11 88 03 dc 26 29 a8 26 b0 23 .".."..K..................&).&.#
4860 b0 7c c0 5a d3 26 50 f2 00 10 09 18 d1 0c 22 88 41 88 73 90 46 98 46 dc 15 21 d8 10 11 d8 10 13 .|.Z.&P.......".A.s.F.F..!......
4880 d8 10 1c d8 10 24 d8 10 1c d8 10 1a d8 10 24 d8 10 1c d8 10 1a d8 10 22 f3 15 0b 16 0e 88 46 f1 .....$........$........"......F.
48a0 18 00 33 39 90 4f a0 46 a0 38 a8 32 d1 12 2e b8 62 88 43 d9 2c 32 90 49 98 66 98 58 a0 52 d1 12 ..39.O.F.8.2....b.C.,2.I.f.X.R..
48c0 28 b8 02 88 43 d8 0c 0f 90 33 97 3a 91 3a a0 34 b0 16 c0 13 c8 43 90 3a d3 13 50 d1 0c 50 88 43 (...C....3.:.:.4.....C.:..P..P.C
48e0 d8 0c 0f 90 34 89 4b 89 43 f0 21 10 09 18 f0 26 00 0b 0e 88 63 88 72 88 28 80 43 d9 2b 32 88 4f ....4.K.C.!....&....c.r.(.C.+2.O
4900 98 47 98 39 a0 42 d1 0a 27 b8 02 80 43 d9 29 34 88 49 90 6b 90 5d a0 22 d1 0a 25 b8 22 80 43 d8 .G.9.B..'...C.)4.I.k.]."..%.".C.
4920 0a 18 d7 0a 1f d1 0a 1f a8 03 b0 53 c0 03 d0 0a 1f d3 0a 44 80 43 d9 07 12 d8 0f 1f d7 0f 26 d1 ...........S.......D.C........&.
4940 0f 26 a8 73 d0 0f 26 d3 0f 33 d0 08 33 d8 0b 0e 80 4a f3 00 00 00 00 da 01 77 29 01 da 04 6d 6f .&.s..&..3..3....J.......w)...mo
4960 64 65 63 02 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 0b 00 00 00 f3 3a 00 00 00 97 00 7c 01 dec.....................:.....|.
4980 6a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 74 03 00 00 00 00 00 00 00 00 7c 00 j...................t.........|.
49a0 66 01 69 00 7c 02 a4 01 8e 01 ab 01 00 00 00 00 00 00 01 00 79 01 29 02 61 17 15 00 00 57 72 69 f.i.|...............y.).a....Wri
49c0 74 65 20 74 68 65 20 6c 61 74 65 78 20 63 6f 64 65 20 74 6f 20 64 72 61 77 20 74 68 65 20 67 72 te.the.latex.code.to.draw.the.gr
49e0 61 70 68 28 73 29 20 6f 6e 74 6f 20 60 70 61 74 68 60 2e 0a 0a 20 20 20 20 54 68 69 73 20 63 6f aph(s).onto.`path`.......This.co
4a00 6e 76 65 6e 69 65 6e 63 65 20 66 75 6e 63 74 69 6f 6e 20 63 72 65 61 74 65 73 20 74 68 65 20 6c nvenience.function.creates.the.l
4a20 61 74 65 78 20 64 72 61 77 69 6e 67 20 63 6f 64 65 20 61 73 20 61 20 73 74 72 69 6e 67 0a 20 20 atex.drawing.code.as.a.string...
4a40 20 20 61 6e 64 20 77 72 69 74 65 73 20 74 68 61 74 20 74 6f 20 61 20 66 69 6c 65 20 72 65 61 64 ..and.writes.that.to.a.file.read
4a60 79 20 74 6f 20 62 65 20 63 6f 6d 70 69 6c 65 64 20 77 68 65 6e 20 60 61 73 5f 64 6f 63 75 6d 65 y.to.be.compiled.when.`as_docume
4a80 6e 74 60 20 69 73 20 54 72 75 65 0a 20 20 20 20 6f 72 20 72 65 61 64 79 20 74 6f 20 62 65 20 60 nt`.is.True.....or.ready.to.be.`
4aa0 60 69 6d 70 6f 72 74 60 60 20 65 64 20 6f 72 20 60 60 69 6e 63 6c 75 64 65 60 60 20 65 64 20 69 `import``.ed.or.``include``.ed.i
4ac0 6e 74 6f 20 79 6f 75 72 20 6d 61 69 6e 20 4c 61 54 65 58 20 64 6f 63 75 6d 65 6e 74 2e 0a 0a 20 nto.your.main.LaTeX.document....
4ae0 20 20 20 54 68 65 20 60 70 61 74 68 60 20 61 72 67 75 6d 65 6e 74 20 63 61 6e 20 62 65 20 61 20 ...The.`path`.argument.can.be.a.
4b00 73 74 72 69 6e 67 20 66 69 6c 65 6e 61 6d 65 20 6f 72 20 61 20 66 69 6c 65 20 68 61 6e 64 6c 65 string.filename.or.a.file.handle
4b20 20 74 6f 20 77 72 69 74 65 20 74 6f 2e 0a 0a 20 20 20 20 50 61 72 61 6d 65 74 65 72 73 0a 20 20 .to.write.to.......Parameters...
4b40 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 20 47 62 75 6e 63 68 20 3a 20 4e 65 74 77 6f 72 ..----------.....Gbunch.:.Networ
4b60 6b 58 20 67 72 61 70 68 20 6f 72 20 69 74 65 72 61 62 6c 65 20 6f 66 20 4e 65 74 77 6f 72 6b 58 kX.graph.or.iterable.of.NetworkX
4b80 20 67 72 61 70 68 73 0a 20 20 20 20 20 20 20 20 49 66 20 47 62 75 6e 63 68 20 69 73 20 61 20 67 .graphs.........If.Gbunch.is.a.g
4ba0 72 61 70 68 2c 20 69 74 20 69 73 20 64 72 61 77 6e 20 69 6e 20 61 20 66 69 67 75 72 65 20 65 6e raph,.it.is.drawn.in.a.figure.en
4bc0 76 69 72 6f 6e 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 49 66 20 47 62 75 6e 63 68 20 69 73 20 vironment..........If.Gbunch.is.
4be0 61 6e 20 69 74 65 72 61 62 6c 65 20 6f 66 20 67 72 61 70 68 73 2c 20 65 61 63 68 20 69 73 20 64 an.iterable.of.graphs,.each.is.d
4c00 72 61 77 6e 20 69 6e 20 61 20 73 75 62 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 65 6e 76 69 rawn.in.a.subfigure.........envi
4c20 72 6f 6e 6d 65 6e 74 20 77 69 74 68 69 6e 20 61 20 73 69 6e 67 6c 65 20 66 69 67 75 72 65 20 65 ronment.within.a.single.figure.e
4c40 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0a 20 20 20 20 70 61 74 68 20 3a 20 73 74 72 69 6e 67 20 6f 72 nvironment......path.:.string.or
4c60 20 66 69 6c 65 0a 20 20 20 20 20 20 20 20 46 69 6c 65 6e 61 6d 65 20 6f 72 20 66 69 6c 65 20 68 .file.........Filename.or.file.h
4c80 61 6e 64 6c 65 20 74 6f 20 77 72 69 74 65 20 74 6f 2e 0a 20 20 20 20 20 20 20 20 46 69 6c 65 6e andle.to.write.to..........Filen
4ca0 61 6d 65 73 20 65 6e 64 69 6e 67 20 69 6e 20 2e 67 7a 20 6f 72 20 2e 62 7a 32 20 77 69 6c 6c 20 ames.ending.in..gz.or..bz2.will.
4cc0 62 65 20 63 6f 6d 70 72 65 73 73 65 64 2e 0a 20 20 20 20 6f 70 74 69 6f 6e 73 20 3a 20 64 69 63 be.compressed......options.:.dic
4ce0 74 0a 20 20 20 20 20 20 20 20 42 79 20 64 65 66 61 75 6c 74 2c 20 54 69 6b 5a 20 69 73 20 75 73 t.........By.default,.TikZ.is.us
4d00 65 64 20 77 69 74 68 20 6f 70 74 69 6f 6e 73 3a 20 28 6f 74 68 65 72 73 20 61 72 65 20 69 67 6e ed.with.options:.(others.are.ign
4d20 6f 72 65 64 29 3a 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 20 3a 20 73 74 72 69 6e ored)::..............pos.:.strin
4d40 67 20 6f 72 20 64 69 63 74 20 6f 72 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 g.or.dict.or.list...............
4d60 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 62 75 74 65 ..The.name.of.the.node.attribute
4d80 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 .on.`G`.that.holds.the.position.
4da0 6f 66 20 65 61 63 68 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6f of.each.node..................Po
4dc0 73 69 74 69 6f 6e 73 20 63 61 6e 20 62 65 20 73 65 71 75 65 6e 63 65 73 20 6f 66 20 6c 65 6e 67 sitions.can.be.sequences.of.leng
4de0 74 68 20 32 20 77 69 74 68 20 6e 75 6d 62 65 72 73 20 66 6f 72 20 28 78 2c 79 29 20 63 6f 6f 72 th.2.with.numbers.for.(x,y).coor
4e00 64 69 6e 61 74 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 79 20 63 61 dinates..................They.ca
4e20 6e 20 61 6c 73 6f 20 62 65 20 73 74 72 69 6e 67 73 20 74 6f 20 64 65 6e 6f 74 65 20 70 6f 73 69 n.also.be.strings.to.denote.posi
4e40 74 69 6f 6e 73 20 69 6e 20 54 69 6b 5a 20 73 74 79 6c 65 2c 20 73 75 63 68 20 61 73 20 28 78 2c tions.in.TikZ.style,.such.as.(x,
4e60 20 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 28 61 6e 67 6c 65 3a 72 61 .y).................or.(angle:ra
4e80 64 69 75 73 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 66 20 61 20 64 69 63 74 dius)..................If.a.dict
4ea0 2c 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 ,.it.should.be.keyed.by.node.to.
4ec0 61 20 70 6f 73 69 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 66 20 61 a.position..................If.a
4ee0 6e 20 65 6d 70 74 79 20 64 69 63 74 2c 20 61 20 63 69 72 63 75 6c 61 72 20 6c 61 79 6f 75 74 20 n.empty.dict,.a.circular.layout.
4f00 69 73 20 63 6f 6d 70 75 74 65 64 20 62 79 20 54 69 6b 5a 2e 0a 20 20 20 20 20 20 20 20 20 20 20 is.computed.by.TikZ.............
4f20 20 20 20 20 20 49 66 20 79 6f 75 20 61 72 65 20 64 72 61 77 69 6e 67 20 6d 61 6e 79 20 67 72 61 .....If.you.are.drawing.many.gra
4f40 70 68 73 20 69 6e 20 73 75 62 66 69 67 75 72 65 73 2c 20 75 73 65 20 61 20 6c 69 73 74 20 6f 66 phs.in.subfigures,.use.a.list.of
4f60 20 70 6f 73 69 74 69 6f 6e 20 64 69 63 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6b .position.dicts..............tik
4f80 7a 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 z_options.:.string..............
4fa0 20 20 20 54 68 65 20 74 69 6b 7a 70 69 63 74 75 72 65 20 6f 70 74 69 6f 6e 73 20 64 65 73 63 72 ...The.tikzpicture.options.descr
4fc0 69 70 74 69 6f 6e 20 64 65 66 69 6e 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 iption.defining.the.options.for.
4fe0 74 68 65 20 70 69 63 74 75 72 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 66 74 the.picture..................Oft
5000 65 6e 20 6c 61 72 67 65 20 73 63 61 6c 65 20 6f 70 74 69 6f 6e 73 20 6c 69 6b 65 20 60 5b 73 63 en.large.scale.options.like.`[sc
5020 61 6c 65 3d 32 5d 60 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 5f 6e 6f 64 ale=2]`..............default_nod
5040 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 e_options.:.string..............
5060 20 20 20 54 68 65 20 64 72 61 77 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 61 20 70 61 74 68 20 6f ...The.draw.options.for.a.path.o
5080 66 20 6e 6f 64 65 73 2e 20 49 6e 64 69 76 69 64 75 61 6c 20 6e 6f 64 65 20 6f 70 74 69 6f 6e 73 f.nodes..Individual.node.options
50a0 20 6f 76 65 72 72 69 64 65 20 74 68 65 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 .override.these..............nod
50c0 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 e_options.:.string.or.dict......
50e0 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 ...........The.name.of.the.node.
5100 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 attribute.on.`G`.that.holds.the.
5120 6f 70 74 69 6f 6e 73 20 66 6f 72 20 65 61 63 68 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 options.for.each.node...........
5140 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 6e 6f 64 65 20 74 .......Or.a.dict.keyed.by.node.t
5160 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 o.a.string.holding.the.options.f
5180 6f 72 20 74 68 61 74 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 5f 6c or.that.node..............node_l
51a0 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 20 20 abel.:.string.or.dict...........
51c0 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6e 6f 64 65 20 61 74 74 72 69 ......The.name.of.the.node.attri
51e0 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6e 6f 64 65 20 bute.on.`G`.that.holds.the.node.
5200 6c 61 62 65 6c 20 28 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 label.(text).................dis
5220 70 6c 61 79 65 64 20 66 6f 72 20 65 61 63 68 20 6e 6f 64 65 2e 20 49 66 20 74 68 65 20 61 74 74 played.for.each.node..If.the.att
5240 72 69 62 75 74 65 20 69 73 20 22 22 20 6f 72 20 6e 6f 74 20 70 72 65 73 65 6e 74 2c 20 74 68 65 ribute.is."".or.not.present,.the
5260 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 73 65 6c 66 20 69 73 20 .node.................itself.is.
5280 64 72 61 77 6e 20 61 73 20 61 20 73 74 72 69 6e 67 2e 20 4c 61 54 65 58 20 70 72 6f 63 65 73 73 drawn.as.a.string..LaTeX.process
52a0 69 6e 67 20 73 75 63 68 20 61 73 20 60 60 22 24 41 5f 31 24 22 60 60 20 69 73 20 61 6c 6c 6f 77 ing.such.as.``"$A_1$"``.is.allow
52c0 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 ed..................Or.a.dict.ke
52e0 79 65 64 20 62 79 20 6e 6f 64 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 yed.by.node.to.a.string.holding.
5300 74 68 65 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 the.label.for.that.node.........
5320 20 20 20 20 20 64 65 66 61 75 6c 74 5f 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 .....default_edge_options.:.stri
5340 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6f 70 74 69 6f 6e 73 20 66 ng.................The.options.f
5360 6f 72 20 74 68 65 20 73 63 6f 70 65 20 64 72 61 77 69 6e 67 20 61 6c 6c 20 65 64 67 65 73 2e 20 or.the.scope.drawing.all.edges..
5380 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 22 5b 2d 5d 22 20 66 6f 72 0a 20 20 20 20 20 20 20 The.default.is."[-]".for........
53a0 20 20 20 20 20 20 20 20 20 75 6e 64 69 72 65 63 74 65 64 20 67 72 61 70 68 73 20 61 6e 64 20 22 .........undirected.graphs.and."
53c0 5b 2d 3e 5d 22 20 66 6f 72 20 64 69 72 65 63 74 65 64 20 67 72 61 70 68 73 2e 0a 20 20 20 20 20 [->]".for.directed.graphs.......
53e0 20 20 20 20 20 20 20 65 64 67 65 5f 6f 70 74 69 6f 6e 73 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 .......edge_options.:.string.or.
5400 64 69 63 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 dict.................The.name.of
5420 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 .the.edge.attribute.on.`G`.that.
5440 68 6f 6c 64 73 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 65 61 63 68 20 65 64 67 65 2e holds.the.options.for.each.edge.
5460 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 66 20 74 68 65 20 65 64 67 65 20 69 73 20 .................If.the.edge.is.
5480 61 20 73 65 6c 66 2d 6c 6f 6f 70 20 61 6e 64 20 60 60 22 6c 6f 6f 70 22 20 6e 6f 74 20 69 6e 20 a.self-loop.and.``"loop".not.in.
54a0 65 64 67 65 5f 6f 70 74 69 6f 6e 73 60 60 20 74 68 65 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 edge_options``.the.option.......
54c0 20 20 20 20 20 20 20 20 20 20 22 6c 6f 6f 70 2c 22 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 .........."loop,".is.added.to.th
54e0 65 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 73 65 6c 66 2d 6c 6f 6f 70 20 65 64 67 65 e.options.for.the.self-loop.edge
5500 2e 20 48 65 6e 63 65 20 79 6f 75 20 63 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..Hence.you.can.................
5520 75 73 65 20 22 5b 6c 6f 6f 70 20 61 62 6f 76 65 5d 22 20 65 78 70 6c 69 63 69 74 6c 79 2c 20 62 use."[loop.above]".explicitly,.b
5540 75 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 22 5b 6c 6f 6f 70 5d 22 2e 0a 20 20 20 20 ut.the.default.is."[loop]"......
5560 20 20 20 20 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 62 79 20 65 ............Or.a.dict.keyed.by.e
5580 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 6f 70 74 69 dge.to.a.string.holding.the.opti
55a0 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 ons.for.that.edge..............e
55c0 64 67 65 5f 6c 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 dge_label.:.string.or.dict......
55e0 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 ...........The.name.of.the.edge.
5600 61 74 74 72 69 62 75 74 65 20 6f 6e 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 attribute.on.`G`.that.holds.the.
5620 65 64 67 65 20 6c 61 62 65 6c 20 28 74 65 78 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 edge.label.(text)...............
5640 20 20 64 69 73 70 6c 61 79 65 64 20 66 6f 72 20 65 61 63 68 20 65 64 67 65 2e 20 49 66 20 74 68 ..displayed.for.each.edge..If.th
5660 65 20 61 74 74 72 69 62 75 74 65 20 69 73 20 22 22 20 6f 72 20 6e 6f 74 20 70 72 65 73 65 6e 74 e.attribute.is."".or.not.present
5680 2c 20 6e 6f 20 65 64 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 ,.no.edge.................label.
56a0 69 73 20 64 72 61 77 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 is.drawn..................Or.a.d
56c0 69 63 74 20 6b 65 79 65 64 20 62 79 20 65 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f ict.keyed.by.edge.to.a.string.ho
56e0 6c 64 69 6e 67 20 74 68 65 20 6c 61 62 65 6c 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 lding.the.label.for.that.edge...
5700 20 20 20 20 20 20 20 20 20 20 20 65 64 67 65 5f 6c 61 62 65 6c 5f 6f 70 74 69 6f 6e 73 20 3a 20 ...........edge_label_options.:.
5720 73 74 72 69 6e 67 20 6f 72 20 64 69 63 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 string.or.dict.................T
5740 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 65 64 67 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e he.name.of.the.edge.attribute.on
5760 20 60 47 60 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 20 6c 61 62 65 6c 20 6f 70 74 69 6f 6e .`G`.that.holds.the.label.option
5780 73 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 61 63 68 20 65 64 67 65 2e s.for.................each.edge.
57a0 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 22 5b 73 6c 6f 70 65 64 2c 61 62 6f 76 65 2c 62 6c 75 .For.example,."[sloped,above,blu
57c0 65 5d 22 2e 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 6e 6f 20 6f 70 74 69 6f 6e 73 2e 0a e]"..The.default.is.no.options..
57e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 72 20 61 20 64 69 63 74 20 6b 65 79 65 64 20 ................Or.a.dict.keyed.
5800 62 79 20 65 64 67 65 20 74 6f 20 61 20 73 74 72 69 6e 67 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 by.edge.to.a.string.holding.the.
5820 6c 61 62 65 6c 20 6f 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 61 74 20 65 64 67 65 2e 0a 20 20 20 label.options.for.that.edge.....
5840 20 20 20 20 20 20 20 20 20 63 61 70 74 69 6f 6e 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 .........caption.:.string.......
5860 20 20 20 20 20 20 20 20 20 20 54 68 65 20 63 61 70 74 69 6f 6e 20 73 74 72 69 6e 67 20 66 6f 72 ..........The.caption.string.for
5880 20 74 68 65 20 66 69 67 75 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 .the.figure.environment.........
58a0 20 20 20 20 6c 61 74 65 78 5f 6c 61 62 65 6c 20 3a 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 ....latex_label.:.string........
58c0 20 20 20 20 20 20 20 20 20 54 68 65 20 6c 61 74 65 78 20 6c 61 62 65 6c 20 75 73 65 64 20 66 6f .........The.latex.label.used.fo
58e0 72 20 74 68 65 20 66 69 67 75 72 65 20 66 6f 72 20 65 61 73 79 20 72 65 66 65 72 72 61 6c 20 66 r.the.figure.for.easy.referral.f
5900 72 6f 6d 20 74 68 65 20 6d 61 69 6e 20 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 75 rom.the.main.text.............su
5920 62 5f 63 61 70 74 69 6f 6e 73 20 3a 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 0a 20 20 20 b_captions.:.list.of.strings....
5940 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 75 62 5f 63 61 70 74 69 6f 6e 20 73 74 72 .............The.sub_caption.str
5960 69 6e 67 20 66 6f 72 20 65 61 63 68 20 73 75 62 66 69 67 75 72 65 20 69 6e 20 74 68 65 20 66 69 ing.for.each.subfigure.in.the.fi
5980 67 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 75 62 5f 6c 61 74 65 78 5f 6c 61 62 65 6c gure.............sub_latex_label
59a0 73 20 3a 20 6c 69 73 74 20 6f 66 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 s.:.list.of.strings.............
59c0 20 20 20 20 54 68 65 20 6c 61 74 65 78 20 6c 61 62 65 6c 20 66 6f 72 20 65 61 63 68 20 73 75 62 ....The.latex.label.for.each.sub
59e0 66 69 67 75 72 65 20 69 6e 20 74 68 65 20 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 figure.in.the.figure............
5a00 20 6e 5f 72 6f 77 73 20 3a 20 69 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 .n_rows.:.int.................Th
5a20 65 20 6e 75 6d 62 65 72 20 6f 66 20 72 6f 77 73 20 6f 66 20 73 75 62 66 69 67 75 72 65 73 20 74 e.number.of.rows.of.subfigures.t
5a40 6f 20 61 72 72 61 6e 67 65 20 66 6f 72 20 6d 75 6c 74 69 70 6c 65 20 67 72 61 70 68 73 0a 20 20 o.arrange.for.multiple.graphs...
5a60 20 20 20 20 20 20 20 20 20 20 61 73 5f 64 6f 63 75 6d 65 6e 74 20 3a 20 62 6f 6f 6c 0a 20 20 20 ..........as_document.:.bool....
5a80 20 20 20 20 20 20 20 20 20 20 20 20 20 57 68 65 74 68 65 72 20 74 6f 20 77 72 61 70 20 74 68 65 .............Whether.to.wrap.the
5aa0 20 6c 61 74 65 78 20 63 6f 64 65 20 69 6e 20 61 20 64 6f 63 75 6d 65 6e 74 20 65 6e 76 69 72 6f .latex.code.in.a.document.enviro
5ac0 6e 6d 65 6e 74 20 66 6f 72 20 63 6f 6d 70 69 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 nment.for.compiling.............
5ae0 64 6f 63 75 6d 65 6e 74 5f 77 72 61 70 70 65 72 20 3a 20 66 6f 72 6d 61 74 74 65 64 20 74 65 78 document_wrapper.:.formatted.tex
5b00 74 20 73 74 72 69 6e 67 20 77 69 74 68 20 76 61 72 69 61 62 6c 65 20 60 60 63 6f 6e 74 65 6e 74 t.string.with.variable.``content
5b20 60 60 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 74 65 78 74 20 69 73 ``..................This.text.is
5b40 20 63 61 6c 6c 65 64 20 74 6f 20 65 76 61 6c 75 61 74 65 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 .called.to.evaluate.the.content.
5b60 65 6d 62 65 64 64 65 64 20 69 6e 20 61 20 64 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 embedded.in.a.document..........
5b80 20 20 20 20 20 20 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 77 69 74 68 20 61 20 70 72 65 61 6d 62 .......environment.with.a.preamb
5ba0 6c 65 20 73 65 74 74 69 6e 67 20 75 70 20 74 68 65 20 54 69 6b 5a 20 73 79 6e 74 61 78 2e 0a 20 le.setting.up.the.TikZ.syntax...
5bc0 20 20 20 20 20 20 20 20 20 20 20 66 69 67 75 72 65 5f 77 72 61 70 70 65 72 20 3a 20 66 6f 72 6d ...........figure_wrapper.:.form
5be0 61 74 74 65 64 20 74 65 78 74 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 atted.text.string...............
5c00 20 20 54 68 69 73 20 74 65 78 74 20 69 73 20 65 76 61 6c 75 61 74 65 64 20 77 69 74 68 20 76 61 ..This.text.is.evaluated.with.va
5c20 72 69 61 62 6c 65 73 20 60 60 63 6f 6e 74 65 6e 74 60 60 2c 20 60 60 63 61 70 74 69 6f 6e 60 60 riables.``content``,.``caption``
5c40 20 61 6e 64 20 60 60 6c 61 62 65 6c 60 60 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .and.``label``..................
5c60 49 74 20 77 72 61 70 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 61 6e 64 20 69 66 20 61 20 63 61 It.wraps.the.content.and.if.a.ca
5c80 70 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 64 73 20 74 68 65 20 6c 61 74 65 ption.is.provided,.adds.the.late
5ca0 78 20 63 6f 64 65 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 74 20 x.code.for.................that.
5cc0 63 61 70 74 69 6f 6e 2c 20 61 6e 64 20 69 66 20 61 20 6c 61 62 65 6c 20 69 73 20 70 72 6f 76 69 caption,.and.if.a.label.is.provi
5ce0 64 65 64 2c 20 61 64 64 73 20 74 68 65 20 6c 61 74 65 78 20 63 6f 64 65 20 66 6f 72 20 61 20 6c ded,.adds.the.latex.code.for.a.l
5d00 61 62 65 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 75 62 66 69 67 75 72 65 5f 77 72 61 70 abel..............subfigure_wrap
5d20 70 65 72 20 3a 20 66 6f 72 6d 61 74 74 65 64 20 74 65 78 74 20 73 74 72 69 6e 67 0a 20 20 20 20 per.:.formatted.text.string.....
5d40 20 20 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 74 65 78 74 20 65 76 61 6c 75 61 74 65 20 76 ............This.text.evaluate.v
5d60 61 72 69 61 62 6c 65 73 20 60 60 73 69 7a 65 60 60 2c 20 60 60 63 6f 6e 74 65 6e 74 60 60 2c 20 ariables.``size``,.``content``,.
5d80 60 60 63 61 70 74 69 6f 6e 60 60 20 61 6e 64 20 60 60 6c 61 62 65 6c 60 60 2e 0a 20 20 20 20 20 ``caption``.and.``label``.......
5da0 20 20 20 20 20 20 20 20 20 20 20 49 74 20 77 72 61 70 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 ...........It.wraps.the.content.
5dc0 61 6e 64 20 69 66 20 61 20 63 61 70 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 and.if.a.caption.is.provided,.ad
5de0 64 73 20 74 68 65 20 6c 61 74 65 78 20 63 6f 64 65 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 ds.the.latex.code.for...........
5e00 20 20 20 20 20 20 74 68 61 74 20 63 61 70 74 69 6f 6e 2c 20 61 6e 64 20 69 66 20 61 20 6c 61 62 ......that.caption,.and.if.a.lab
5e20 65 6c 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 61 64 64 73 20 74 68 65 20 6c 61 74 65 78 20 63 el.is.provided,.adds.the.latex.c
5e40 6f 64 65 20 66 6f 72 20 61 20 6c 61 62 65 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ode.for.a.label.................
5e60 20 54 68 65 20 73 69 7a 65 20 69 73 20 74 68 65 20 76 65 72 74 69 63 61 6c 20 73 69 7a 65 20 6f .The.size.is.the.vertical.size.o
5e80 66 20 65 61 63 68 20 72 6f 77 20 6f 66 20 73 75 62 66 69 67 75 72 65 73 20 61 73 20 61 20 66 72 f.each.row.of.subfigures.as.a.fr
5ea0 61 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 53 65 65 20 41 6c 73 6f 0a 20 20 20 20 3d 3d 3d 3d 3d 3d action.......See.Also.....======
5ec0 3d 3d 0a 20 20 20 20 74 6f 5f 6c 61 74 65 78 0a 20 20 20 20 4e 29 02 da 05 77 72 69 74 65 72 04 ==.....to_latex.....N)...writer.
5ee0 00 00 00 29 03 72 50 00 00 00 da 04 70 61 74 68 da 07 6f 70 74 69 6f 6e 73 73 03 00 00 00 20 20 ...).rP.....path..optionss......
5f00 20 72 43 00 00 00 72 05 00 00 00 72 05 00 00 00 e0 01 00 00 73 1b 00 00 00 80 00 f0 74 02 00 05 .rC...r....r........s.......t...
5f20 09 87 4a 81 4a 8c 78 98 06 d1 0f 2a a0 27 d1 0f 2a d5 04 2b 72 62 00 00 00 29 09 72 07 00 00 00 ..J.J.x....*.'..*..+rb...).r....
5f40 72 08 00 00 00 72 08 00 00 00 72 09 00 00 00 72 4a 00 00 00 72 08 00 00 00 72 0a 00 00 00 72 4a r....r....r....rJ...r....r....rJ
5f60 00 00 00 72 0b 00 00 00 29 0d da 07 5f 5f 64 6f 63 5f 5f da 08 6e 65 74 77 6f 72 6b 78 72 1a 00 ...r....)...__doc__..networkxr..
5f80 00 00 da 07 5f 5f 61 6c 6c 5f 5f da 05 75 74 69 6c 73 da 13 6e 6f 74 5f 69 6d 70 6c 65 6d 65 6e ....__all__..utils..not_implemen
5fa0 74 65 64 5f 66 6f 72 72 03 00 00 00 da 11 5f 44 4f 43 5f 57 52 41 50 50 45 52 5f 54 49 4b 5a da ted_forr......_DOC_WRAPPER_TIKZ.
5fc0 0c 5f 46 49 47 5f 57 52 41 50 50 45 52 da 0f 5f 53 55 42 46 49 47 5f 57 52 41 50 50 45 52 72 04 ._FIG_WRAPPER.._SUBFIG_WRAPPERr.
5fe0 00 00 00 da 09 6f 70 65 6e 5f 66 69 6c 65 72 05 00 00 00 a9 00 72 62 00 00 00 72 43 00 00 00 fa .....open_filer......rb...rC....
6000 08 3c 6d 6f 64 75 6c 65 3e 72 73 00 00 00 01 00 00 00 73 da 00 00 00 f0 03 01 01 01 f1 02 7f 01 .<module>rs.......s.............
6020 01 04 f3 42 04 00 01 16 f2 04 04 0b 02 80 07 f0 0e 00 02 04 87 18 81 18 d7 01 1d d1 01 1d 98 6c ...B...........................l
6040 d3 01 2b f0 06 00 09 0e d8 11 13 d8 19 1b d8 11 1f d8 0f 16 d8 19 1b d8 11 1f d8 0f 16 d8 17 2b ..+............................+
6060 f2 15 54 02 01 12 f3 03 00 02 2c f0 02 54 02 01 12 f0 6e 04 06 15 14 d0 00 11 f0 12 02 10 12 80 ..T.......,..T....n.............
6080 0c f0 0a 02 13 17 80 0f f0 0e 00 09 0e d8 11 13 d8 19 1b d8 11 1f d8 0f 1b d8 19 1b d8 11 1f d8 ................................
60a0 0f 1b d8 17 2b d8 0c 0e d8 10 12 d8 11 15 d8 0f 13 d8 0b 0c d8 10 14 d8 15 26 d8 13 1f d8 16 25 ....+....................&.....%
60c0 f3 27 67 02 01 0f f0 54 05 00 02 04 87 18 81 18 d7 01 13 d1 01 13 90 41 98 43 d0 01 13 d3 01 20 .'g....T...............A.C......
60e0 f1 02 59 01 01 2c f3 03 00 02 21 f1 02 59 01 01 2c 72 62 00 00 00 ..Y..,....!..Y..,rb...