Graph
From Wikisophia
Revision as of 03:44, 18 March 2006 by 83.28.196.225 (Talk)
< Wikitex
Contents |
Graphviz
Graphviz by Lefty Koutsofios, et al.; for relational diagrams (doc | template). Examples from the Graphviz gallery. Oversize/problematic examples on separate pages.
- softmaint - needs neato
- graph transparency - not identical rendering as the gallery example
- data structures - looks great
- crazy - excellent
- graph world - nice
- switch - sharp
- sdh stack - sweet [1]
- graph unix - perfect
- finite automation -
- profile -
- genealogy - test
- UML class diagram
hello world
digraph G {Hello->World}
|
|
process - buggy / contraints?
Cluster
intranet
fdp cluster
Take a look at the new "fdp" layout:
<graph layout="fdp">
graph G
{
e
subgraph clusterA
{
a -- b;
subgraph clusterC
{
C -- D;
}
}
subgraph clusterB
{
d -- f
}
d -- D
e -- clusterB
clusterC -- clusterB
}
</graph>
|
Entity relation
Ling
AVM and Parsetrees have been superseded by <graph>.
Attribute-Value Matrices
AVM by Christopher Manning for attribute-value matrices (doc | template);
<ling> \newbox\matrixsynsem \newbox\headdtr \newbox\compdtrone \newbox\compdtrtwo {\scriptsize \avmoptions{center} \setbox\matrixsynsem=\hbox{\begin{avm} \osort{synsem}{\[local & \[cat & \[ \] \\ content & \[ \]\]\]} \end{avm}} \setbox\headdtr=\hbox{\begin{avm} \osort{word}{\[ phon\;\<\rm likes\>\\ synsem\;\[local\[ cat\;\[ head \; \@{5}\\ arg-s\;\< \@{1},\@{2}\>\] \\ content\;\@{6} \]\]\]} \end{avm}} \setbox\compdtrone=\hbox{\begin{avm} \sort{phrase}{\[ phon\;\<\rm fido\>\\ synsem\;\@{1}\;\[local\[ cat\;\[ head\;noun\\ arg-s\;\< \>\] \\ content\;\@{3} \]\]\]} \end{avm}} \setbox\compdtrtwo=\hbox{\begin{avm} \sort{phrase}{\[ phon\;\<\rm bones\>\\ synsem\;\@{2}\;\[local\[ cat\;\[ head\;noun\\ arg-s\;\< \>\] \\ content\;\@{4} \]\]\]} \end{avm}} \avmoptions{active,sorted} \begin{avm} \hspace{-1in} [{phrase} phon\;\<\rm fido likes bones\> \\ synsem\;[{synsem} local [{} cat & [{} head & @{5}\\ arg-s & \< \; \>] \\ content & @{6}[{psoa} reln\;like \\ arg1\;@{3} \\ arg2\;@{4} ]]]\\ dtrs\;\sort{head-struc}{[{} head-dtr\;\box\headdtr \\ comp-dtrs\;< \box\compdtrone , \\ \hspace{.5in} \box\compdtrtwo>]}] \end{avm}} </ling>
Parsetrees
Parsetree by Eirik Hektoen for semantic trees (doc):
<ling> \ptbegtree \ptbeg \npile{S\\ see' (s, k)\\ \lambda y see' ( y,k ) (s)} \ptbeg \npile{NP\\s} \npile{Sam\\s} \ptend \ptbeg \npile{VP\\ \lambda y see' ( y,k )\\ \lambda x \lambda y see' ( y,x ) (k)} \ptbeg \npile{V\\ \lambda x \lambda y see' ( y,x ) } \npile{saw\\ \lambda x \lambda y see ( y,x )} \ptend \ptbeg \npile{NP\\k} \npile{Kim\\k} \ptend \ptend \ptend \ptendtree </ling>