First time here? Check out the FAQ!

Ask Your Question
1

Dotted and dashed lines in directed graphs

asked 9 years ago

Bern gravatar image

updated 6 years ago

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!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 9 years ago

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.

Preview: (hide)
link

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 ( 7 years ago )

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: 9 years ago

Seen: 726 times

Last updated: Dec 04 '15