Message Boards Message Boards

0
|
3900 Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to input graph to Wolfram|Alpha?

Posted 2 years ago

I put

Graph [{1, 2, 3}, {DirectedEdge[1, 2], DirectedEdge[2, 3], DirectedEdge[3, 1]}]

to https://www.wolframalpha.com/ and have got "Interpreting as: 1, 2, 3"! Why so? No graph flavor at all.
How to give Graph to Wolfram|Alpha?

POSTED BY: Alex Shkotin
4 Replies
Posted 2 years ago

Hi Jim! I use https://www.wolframalpha.com/ for input, and it was somewhere in the answer tabs the syntax you mentioned first, but remember that you need not space between "\" and "[".

As Rohit mentioned the second command does not work in Alpha.

If you need another example of \[ syntax look here https://community.wolfram.com/groups/-/m/t/1979979

Alex

POSTED BY: Alex Shkotin
Posted 2 years ago

Alex,

How or where did you determine

Graph[{1 \ [DirectedEdge] 2, 2 \ [DirectedEdge] 3, 3 \ [DirectedEdge] 1}]

was the correct commands to achieve

Graph [{1, 2, 3}, {DirectedEdge[1, 2], DirectedEdge[2, 3], DirectedEdge[3, 1]}]

Thanks!

Jim

POSTED BY: jim Kochanski
Posted 2 years ago

Hi Rohit! Thanks. And I have found this one

Graph[{1 \[DirectedEdge] 2, 2 \[DirectedEdge] 3, 3 \[DirectedEdge] 1}]

:-)

POSTED BY: Alex Shkotin
Posted 2 years ago

Hi Alex,

Wolfram|Alpha does not interpret all WL syntax. Is this what you were trying to do?

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract