Macaulay2 » Documentation
Packages » Chordal :: writeDotFile(String,Function,ChordalNet)
next | previous | forward | backward | up | index | toc

# writeDotFile(String,Function,ChordalNet) -- writes a chordal network to a dot file

- Function: writeDotFile
- Usage:
    `writeDotFile(fileName,label,N)`
    `writeDotFile(fileName,tree)`
- Inputs:
  - fileName, a string,
  - label, a function,
  - N, an instance of the type ChordalNet,

## Description

Writes the code for an inputted chordal network (or elimination tree) to be constructed in Graphviz with specified file name

## See also

- writeDotFile -- Writes a graph to a dot file with a specified filename
- displayNet -- displays a chordal network using Graphivz
- displayGraph(ElimTree) -- displays an elimination tree using Graphviz

## Ways to use this method:

- `writeDotFile(String,ElimTree)`
- writeDotFile(String,Function,ChordalNet) -- writes a chordal network to a dot file

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Chordal/ChordalDoc.m2:513:0.