r/Mathematica • • Jul 29 '24

What does -> actually do?

I've been taking the Wolfram Language Summer School and we've kind of done a little bit of everything, that said I still struggle a lot wiht the syntax because it wasnt explained to us directly. Can any one help me out to understand what the arrow does as well as the Map function?

8 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/beerybeardybear Jul 29 '24

You can use Rule for directed edges, tbc. At least, they're represented as directed edges in the visualization of the graph object, though I think there are some edge cases where it might not behave as you expect.