#3541: [with patch, positive review] graph multiedge plotting
--------------------------+-------------------------------------------------
 Reporter:  ekirkman      |        Owner:  ekirkman
     Type:  enhancement   |       Status:  closed  
 Priority:  major         |    Milestone:  sage-3.3
Component:  graph theory  |   Resolution:  fixed   
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by mvngu):

 Uploaded an image of a sample plot of a multi-edge graph. The graph was
 produced using the following code from the docstring of
 {{{sage.graphs.graph.GenericGraph.plot}}}:
 {{{
 sage: g = Graph({}, loops=True, multiedges=True)
 sage: g.add_edges([(0,0,'a'),(0,0,'b'),(0,1,'c'),(0,1,'d'),
 ...     (0,1,'e'),(0,1,'f'),(0,1,'f'),(2,1,'g'),(2,2,'h')])
 sage: g.plot(edge_labels=True, color_by_label=True, edge_style='dashed')
 }}}
 I uploaded the image here, so it can be referred to in the release tour of
 3.3.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3541#comment:16>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to