def get_edge_mark(ttree):
<EOL>if ttree._kwargs["<STR_LIT>"] in ["<STR_LIT:c>", "<STR_LIT>"]:<EOL><INDENT>a=ttree.edges<EOL>vcoordinates=ttree.verts<EOL><DEDENT>else:<EOL><INDENT>a=ttree._lines               <EOL>vcoordinates=ttree._coords    <EOL><DEDENT>along='<STR_LIT:x>'<EOL>vmarker='<STR_LIT:o>'<EOL>vcolor=None<EOL>vlshow=False            <EOL>vsize=<NUM_LIT:0.>         <EOL>estyle=ttree._kwargs["<STR_LIT>"]<EOL>layout = toyplot.layout.graph(a, vcoordinates=vcoordinates)<EOL>along = toyplot.require.value_in(along, ["<STR_LIT:x>", "<STR_LIT:y>"])<EOL>if along == "<STR_LIT:x>":<EOL><INDENT>coordinate_axes = ["<STR_LIT:x>", "<STR_LIT:y>"]<EOL><DEDENT>elif along == "<STR_LIT:y>":<EOL><INDENT>coordinate_axes = ["<STR_LIT:y>", "<STR_LIT:x>"]<EOL><DEDENT>vlabel = layout.vids<EOL>vmarker = toyplot.broadcast.pyobject(vmarker, layout.vcount)<EOL>vsize = toyplot.broadcast.scalar(vsize, layout.vcount)<EOL>estyle = toyplot.style.require(estyle, allowed=toyplot.style.allowed.line)<EOL>vcolor = toyplot.color.broadcast(colors=None, shape=layout.vcount, default=toyplot.color.black)<EOL>vopacity = toyplot.broadcast.scalar(<NUM_LIT:1.0>, layout.vcount)<EOL>vtitle = toyplot.broadcast.pyobject(None, layout.vcount)<EOL>vstyle = None<EOL>vlstyle = None<EOL>ecolor = toyplot.color.broadcast(colors=None, shape=layout.ecount, default=toyplot.color.black)<EOL>ewidth = toyplot.broadcast.scalar(<NUM_LIT:1.0>, layout.ecount)<EOL>eopacity = toyplot.broadcast.scalar(<NUM_LIT:1.0>, layout.ecount)<EOL>hmarker = toyplot.broadcast.pyobject(None, layout.ecount)<EOL>mmarker = toyplot.broadcast.pyobject(None, layout.ecount)<EOL>mposition = toyplot.broadcast.scalar(<NUM_LIT:0.5>, layout.ecount)<EOL>tmarker = toyplot.broadcast.pyobject(None, layout.ecount)<EOL>vtable = toyplot.data.Table()<EOL>vtable["<STR_LIT:id>"] = layout.vids<EOL>for axis, coordinates in zip(coordinate_axes, layout.vcoordinates.T):<EOL><INDENT>vtable[axis] = coordinates<EOL><DEDENT>vtable["<STR_LIT:label>"] = vlabel<EOL>vtable["<STR_LIT>"] = vmarker<EOL>vtable["<STR_LIT:size>"] = vsize<EOL>vtable["<STR_LIT>"] = vcolor<EOL>vtable["<STR_LIT>"] = vopacity<EOL>vtable["<STR_LIT:title>"] = vtitle<EOL>etable = toyplot.data.Table()<EOL>etable["<STR_LIT:source>"] = layout.edges.T[<NUM_LIT:0>]<EOL>etable["<STR_LIT:target>"] = layout.edges.T[<NUM_LIT:1>]<EOL>etable["<STR_LIT>"] = layout.eshapes<EOL>etable["<STR_LIT>"] = ecolor<EOL>etable["<STR_LIT:width>"] = ewidth<EOL>etable["<STR_LIT>"] = eopacity<EOL>etable["<STR_LIT>"] = hmarker<EOL>etable["<STR_LIT>"] = mmarker<EOL>etable["<STR_LIT>"] = mposition<EOL>etable["<STR_LIT>"] = tmarker<EOL>edge_mark = toyplot.mark.Graph(<EOL>coordinate_axes=['<STR_LIT:x>', '<STR_LIT:y>'],<EOL>ecolor=["<STR_LIT>"],<EOL>ecoordinates=layout.ecoordinates,<EOL>efilename=None,<EOL>eopacity=["<STR_LIT>"],<EOL>eshape=["<STR_LIT>"],<EOL>esource=["<STR_LIT:source>"],<EOL>estyle=estyle,<EOL>etable=etable,<EOL>etarget=["<STR_LIT:target>"],<EOL>ewidth=["<STR_LIT:width>"],<EOL>hmarker=["<STR_LIT>"],<EOL>mmarker=["<STR_LIT>"],<EOL>mposition=["<STR_LIT>"],<EOL>tmarker=["<STR_LIT>"],<EOL>vcolor=["<STR_LIT>"],<EOL>vcoordinates=['<STR_LIT:x>', '<STR_LIT:y>'],<EOL>vfilename=None,<EOL>vid=["<STR_LIT:id>"],<EOL>vlabel=["<STR_LIT:label>"],<EOL>vlshow=False,<EOL>vlstyle=None,<EOL>vmarker=["<STR_LIT>"],<EOL>vopacity=["<STR_LIT>"],<EOL>vsize=["<STR_LIT:size>"],<EOL>vstyle=None,<EOL>vtable=vtable,<EOL>vtitle=["<STR_LIT:title>"],<EOL>)<EOL>return edge_mark<EOL>
makes a simple Graph Mark object