Ask Your Question
1

Dotted and dashed lines in directed graphs

asked 2015-12-03 20:39:18 -0500

Bern gravatar image

updated 2015-12-04 04:32:54 -0500

Hi,

I would like to know if it is possible to do (one of) the following with Sage.

Reading

http://doc.sagemath.org/html/en/refer...

I saw that it is possible to draw dashed and dotted lines. Now my questions are

1) Is it possible to produce an output graphic where some edges are dotted and some edges are dashed?

2) Is it possible to force the text in the labels of the vertices, e.g. M2, M4, M1 instead of 0,1,2?

Thanks for the help!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-04 14:53:47 -0500

kcrisman gravatar image

For the second question, I think you'd have to actually name the vertices by the names you want printed. Which is certainly supported.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-12-03 20:39:18 -0500

Seen: 93 times

Last updated: Dec 04 '15