To use the graphviz vocabulary, we construct Factor objects that can be converted to data understood by Graphviz (see graphviz.dot).

The following classes are used to represent their equivalent Graphviz structures:

Several constructor variations exist to make building graphs convenient.

To construct different sorts of graphs:

To construct different sorts of subgraphs:

To construct nodes and edges:

Finally, use the following words to combine these objects into a single graph:

The following classes are used to represent their equivalent Graphviz structures:

node

edge

subgraph

graph

Several constructor variations exist to make building graphs convenient.

To construct different sorts of graphs:

<graph> ( -- graph )

<digraph> ( -- graph )

<strict-graph> ( -- graph )

<strict-digraph> ( -- graph )

To construct different sorts of subgraphs:

<subgraph> ( id -- subgraph )

<anon> ( -- subgraph )

<cluster> ( id -- subgraph )

To construct nodes and edges:

<node> ( id -- node )

<edge> ( tail head -- edge )

Finally, use the following words to combine these objects into a single graph:

add ( graph statement -- graph' )

add-node ( graph id -- graph' )

add-edge ( graph tail head -- graph' )

add-nodes ( graph nodes -- graph' )

add-path ( graph nodes -- graph' )

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2240, heads/master-b90c89f82e, Sep 26 2023 19:59:25)