Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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
Domain Nodelet?
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 drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-09-21 18:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found