Macaulay2 » Documentation
Packages » StatGraphs :: bigraph
next | previous | forward | backward | up | index | toc

bigraph -- create a bigraph

Description

This is a constructor of a simple graph of class Bigraph. One can use the same input types as in graph.

i1 : G = bigraph {{3,4},{1,2},{2,4}}

o1 = Bigraph{1 => {2}   }
             2 => {4, 1}
             3 => {4}
             4 => {3, 2}

o1 : Bigraph

See also

Ways to use bigraph:

  • bigraph(HashTable)
  • bigraph(List)
  • bigraph(List,List)
  • bigraph(List,Matrix)
  • bigraph(Matrix)
  • bigraph(MixedGraph) -- extract the bigraph component of a mixed graph

For the programmer

The object bigraph is a method function with options.


The source of this document is in StatGraphs.m2:416:0.