Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Lattice , Planar graphs and GraphViz

by blokhead (Monsignor)
on Oct 15, 2009 at 15:27 UTC ( #801371=note: print w/replies, xml ) Need Help??

in reply to Lattice , Planar graphs and GraphViz

Yes, in Graphviz you can connect up many subgraphs.

Keep in mind that computing the minimum crossing number of a graph is NP-hard (although checking for planarity can be done efficiently). So it is a pretty tough thing to ask of a graph layout engine. Graphviz (and probably any other layout engine) uses only heuristics in its layout.

You may want to check out the Boost graph library. It does appear to have Perl bindings, though I can't speak from any personal experience. It is not clear whether the Perl bindings can do everything the C++ bindings can do. But it is clear that Boost is more of a graph theory library than Graphviz, and it seems able to do some really nice things, including drawing a planar embedding (see this example). If you give it a try, I'd be interested in hearing how it works.


  • Comment on Re: Lattice , Planar graphs and GraphViz

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801371]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2017-07-26 19:25 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (400 votes). Check out past polls.