|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsem.graphwriter.TikzDependencyGraphWriter
public class TikzDependencyGraphWriter
| Constructor Summary | |
|---|---|
TikzDependencyGraphWriter(java.lang.String file,
boolean edgeSegmented,
boolean edgeBubble,
boolean repositionEdges)
Create a new GraphWriter for the tikz-dependency format. |
|
| Method Summary | |
|---|---|
void |
close()
Close the writer. |
static java.lang.String |
escapeLatex(java.lang.String input)
Escape special characters and make the String suitable for use in LaTeX. |
void |
open(java.lang.String file)
Open the writer (can be done from the constructor). |
void |
write(Graph graph)
|
void |
write(java.util.List<Graph> sentence)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TikzDependencyGraphWriter(java.lang.String file,
boolean edgeSegmented,
boolean edgeBubble,
boolean repositionEdges)
file - Output file path.edgeSegmented - Use segmented edges (as opposed to arc edges).edgeBubble - Use bubbles around edge labels.repositionEdges - Reposition the edges using a different algorithm.| Method Detail |
|---|
public static java.lang.String escapeLatex(java.lang.String input)
input - Input String.
public void open(java.lang.String file)
open in interface GraphWriterpublic void close()
close in interface GraphWriterpublic void write(Graph graph)
write in interface GraphWriterpublic void write(java.util.List<Graph> sentence)
write in interface GraphWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||