Graphviz: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.
Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.
</blockquote>
</blockquote>
* examples: https://renenyffenegger.ch/notes/tools/Graphviz/examples/index
* [[PythonGraphviz]]
* web editor: https://dot-to-ascii.ggerganov.com/
==dot language==
<syntaxhighlight lang="dot">
digraph D {
  A [label="Hello" shape=diamond]
  B [label="XPUB" shape=box]
  C [label="1" shape=circle]
  A -> B
  A -> C
  A -> D
}
</syntaxhighlight>
==Nodes and edges==
Graphviz works with '''nodes''' and '''edges''':
* [https://graphviz.org/docs/nodes/ nodes attributes]
* [https://graphviz.org/doc/info/shapes.html node shapes]
* [https://graphviz.org/docs/edges/ edge attributes]




[[PythonGraphviz]]


https://dot-to-ascii.ggerganov.com/


[[Category:Cookbook]]
[[Category:Cookbook]]

Latest revision as of 09:39, 10 October 2023

https://graphviz.org

Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

dot language

digraph D {

  A [label="Hello" shape=diamond]
  B [label="XPUB" shape=box]
  C [label="1" shape=circle]

  A -> B 
  A -> C 
  A -> D 

}

Nodes and edges

Graphviz works with nodes and edges: