Graphviz: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
* web editor: https://dot-to-ascii.ggerganov.com/
* web editor: https://dot-to-ascii.ggerganov.com/


Graphviz works with '''nodes''' and '''edges'''.
==dot language==
<syntaxhighlight lang="dot">
digraph D {


Nodes:
  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/docs/nodes/ nodes attributes]
* [https://graphviz.org/doc/info/shapes.html node shapes]
* [https://graphviz.org/doc/info/shapes.html node shapes]
Edges:
* [https://graphviz.org/docs/edges/ edge attributes]
* [https://graphviz.org/docs/edges/ edge attributes]



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: