Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How to print/draw a network graph

by GrandFather (Saint)
on Jun 29, 2006 at 05:05 UTC ( #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? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-05-25 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?