public class TikzSgraphOutputCodec extends OutputCodec<SGraph>
The generated TikZ code relies on TikZ's graph layout capabilities, and requires that you compile your document with Luatex. Alternatively, you can remove the "layered layout" option from the tikzpicture and specify the node coordinates by hand.
| Constructor and Description |
|---|
TikzSgraphOutputCodec() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(SGraph sgraph,
OutputStream ostream)
Writes a string representation of a given object to an output stream.
|
addOptions, asString, asStringSupplier, getAllOutputCodecs, getMetadata, getOption, getOutputCodecByExtension, getOutputCodecByName, getOutputCodecs, hasTrueOptionpublic void write(SGraph sgraph, OutputStream ostream) throws IOException
OutputCodecwrite in class OutputCodec<SGraph>IOException - if something went wrong with I/OCopyright © 2017. All rights reserved.