dot2tex | Convert graphs generated by Graphviz to LaTeX
kandi X-RAY | dot2tex Summary
kandi X-RAY | dot2tex Summary
Convert graphs generated by Graphviz to LaTeX friendly formats
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dot2tex
dot2tex Key Features
dot2tex Examples and Code Snippets
Community Discussions
Trending Discussions on dot2tex
QUESTION
I have tried several to draw a graph representing with consecutive states in a straight line, S0 -> S1 -> S2. Then actions in another straight line below. There are edges between S0 -> A0 -> S1 -> A1 -> S2. Which forms triangles lined up next to each other.
I have tried to use a cluster, and rank=same for the nodes I want to align. I also tried to use [constraint=false] and other answers on Stack Overflow.
...ANSWER
Answered 2019-Mar-23 at 05:23It seems that you are using fdp layout engine.
According to documentation,
fdp draws undirected graphs using a ‘‘spring’’model. It relies on a force-directed approach in the spirit ofFruchterman and Reingold
In your case you need to use dot layout engine.
I'm not familiar with the program you are using, but wild guess would be to replace \begin{dot2tex}[fdp]
with \begin{dot2tex}[dot]
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dot2tex
No Installation instructions are available at this moment for dot2tex.Refer to component home page for details.
Support
If you have any questions vist the community on GitHub, Stack Overflow.
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page