Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

How to print/draw a network graph

by GrandFather (Saint)
on Jun 29, 2006 at 05:05 UTC ( [id://558218]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    'TAvi' (-37) -> 'TDMk' (-32)
    'TAvi' (-38) -> 'TMrk' (-34)
    ...
    'TSpN' (-33) -> 'TAvi' (-38)
    'TSpN' (-33) -> 'TDMk' (-32)
    'TSpN' (-33) -> 'TMCF' (-35)
    
  2. or download this
    'TDif' (-7) -> xfer (-11)
    
    'TDif' (-8) -> 'TMCF' (-35) -> 'TLCI' (-36) -> 'TAvi' (-37) -> 'TDMk' 
    +(-32) -> xfer (-12)
                     ^-----------v-----------------------------------^
    'TDig' (-27) -> 'TSpN' (-33) -> 'TAvi' (-38) -> 'TMrk' (-34) -> xfer (
    +-28)
    
  3. or download this
    use warnings;
    use strict;
    ...
    my @splitLines = map {[/('....')..([-\d]*)\) -> ('?....'?)..([-\d]*)/]
    +} @lines;
    
    print "$_->[0] ($_->[1]) -> $_->[2] ($_->[3])\n" for @splitLines;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://558218]
Approved by Samy_rio
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-23 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found