Graphviz: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "PythonGraphviz")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[PythonGraphviz]]
https://graphviz.org
 
<blockquote>
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>
 
* 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]
 
 
 
 
 
[[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: