RankedEmbedding

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

RankedEmbedding[l]
takes a set partition l of vertices {1,2,,n} and returns an embedding of the vertices in the plane such that the vertices in each block occur on a vertical line with block 1 vertices on the leftmost line, block 2 vertices in the next line, and so on.

RankedEmbedding[g,l]
takes a graph g and a set partition l of the vertices of g and returns the graph g with vertices embedded according to RankedEmbedding[l].

RankedEmbedding[g,s]
takes a graph g and a set s of vertices of g and returns a ranked embedding of g in which vertices in s are in block 1, vertices at distance 1 from any vertex in block 1 are in block 2, and so on.

更多信息更多信息

Translate this page: