Graphviz: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 13: Line 13:
==dot language==
==dot language==
<syntaxhighlight lang="dot">
<syntaxhighlight lang="dot">
digraph D {
digraph {
  hello -> xpub
}
</syntaxhighlight>
 
[[File:Hello-xpub.dot.png]]
 
<syntaxhighlight lang="dot">
digraph {


   A [label="Hello" shape=diamond]
   A [label="Hello" shape=diamond]
Line 26: Line 34:
</syntaxhighlight>
</syntaxhighlight>


[[File:Hello.dot.svg]]
[[File:Hello.dot.png]]


==Nodes and edges==
==Nodes and edges==

Revision as of 10:32, 30 September 2024

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 {
  hello -> xpub
}

Hello-xpub.dot.png

digraph {

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

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

}

Hello.dot.png

Nodes and edges

Graphviz works with nodes and edges: