Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-11-30 23:07 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls