Ask Your Question
1

Dotted and dashed lines in directed graphs

asked 2015-12-04 03:39:18 +0200

Bern gravatar image

updated 2018-10-11 11:52:53 +0200

FrédéricC gravatar image

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 21:53:47 +0200

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

Comments

Thank you for your answer. Maybe the answer to thie following other question of mine is also helpful: https://ask.sagemath.org/question/356...

Bern gravatar imageBern ( 2018-01-20 15:44:19 +0200 )edit

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-04 03:39:18 +0200

Seen: 611 times

Last updated: Dec 04 '15