▸ dot( dotSource, outputFormat?, options?): stringĬonvenience function that performs the dot layout, is equivalent to layout(dotSource, outputFormat, "dot"). ▸ circo( dotSource, outputFormat?, options?): stringĬonvenience function that performs the circo layout, is equivalent to layout(dotSource, outputFormat, "circo"). ![]() This option only works if the -l flag is set.įorm disconnected nodes into chains of up to len nodes.Ī string containing the "unflattened" dotSource. This helps with structures such as a -> -> b. The minimum length of leaf edges is staggered between 1 and len (a small integer).Įnables the staggering of the -l option to fanout nodes whose indegree and outdegree are both 1. unflatten inserts invisible edges or adjusts the minlen on edges to improve layout compaction. The usual layout for such a graph is generally very wide or tall. Unflatten is a preprocessor to dot that is used to improve the aspect ratio of graphs having many leaves or disconnected nodes. ▸ unflatten( dotSource, l?, f?, c?): string Required - graph definition in DOT languageĪdvanced Options for images, files, yInvert and nop.Ī string containing the calculated layout in the format specified by outputFormat Defined in ![]() ![]() Performs layout for the supplied dotSource, see The DOT Language for specification. ▸ layout( dotSource, outputFormat?, layoutEngine?, options?): string In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous Returns Ī promise to an instance of the Graphviz class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |