Arrows


Some scripts I wrote to parse graphs from note files, imagine reStructuredText but for GraphViz.

Get the code directly from the subversion repository :
svn co https://arrowscript.svn.sourceforge.net/svnroot/arrowscript

I wrote this to graph interacting excitatory and inhibitory systems for neuroanatomy class. Thus, it has a few preconfired settings. Namely, "→" is parsed into a red excitatory (GLU) connection and ⊣ is parsed into a blue inhibitory (GABA) connection.
a,b→c
c⊣d
d⊣c
The main component is a python script that accepts on standard input an arrowscript source file and spits to standard output a graphviz source file. This tool can be combined with other linux tools for more convenient functionality. The shell scruipt "go" gives an example usage. For instance, here is part of my notes defining the ascending spinocerebellar systems and the corresponding output graph :
grey.1a.lower → (gracile f) clarke's n (c8-l2) → d spinocerebellar t →(icp) spinocerebellum 
grey.1a.upper → (cuneate f) acessory cuneate n → cuneocerebellar t →(icp) spinocerebellum
grey.IN.lower v →(a decus) v spinocerebellar t →(scp) spinocerebellum
grey.IN.upper v →(a decus) r spinocerebellar t →(scp) spinocerebellum
n, acessory cuneate n,cuneocerebellar t,d spinocerebellar t ⊂ 1a (spindle) state 
spinocerebellar t, r spinocerebellar t ⊂ IN state (spindle) state, IN state ⊂ spinocerebellar inputs