inserting symbols into a file using mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg97606] inserting symbols into a file using mathematica
- From: Nishant <voneur at gmail.com>
- Date: Tue, 17 Mar 2009 04:56:25 -0500 (EST)
Given a text file containing something like a b 1 b c 2 I want to make a graph out of this file taking a,b,c as nodes Is it possible to parse this file using mathematica and insert symbol ->,showing edges, Eg a->b 1 b->c 2 It has to be done in mathematica only,otherwise the symbol -> looses its significance as in mathematica does not recognize it as a edge symbol.. Thanks for the help