Skip to content

LoLei/YASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YASM

Yet Another Site Mapper

Generate a (visual) site map free and open-source.

Requirements

Usage

$ ./yasm.py -h
usage: yasm.py [-h] [-v] [-i] [-d DEPTH] [-wp WIDTHPADDING] [-hp HEIGHTPADDING] [-e {dot,blockdiag}] [-o {landscape,portrait}] [-t {pdf,svg}] [-s] file

positional arguments:
  file                  Input file - YACA JSON

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Verbosity of the output
  -i, --instant         View the output file immediately
  -d DEPTH, --depth DEPTH
                        Maximum depth of the sitemap (default unlimited)
  -wp WIDTHPADDING, --widthpadding WIDTHPADDING
                        Padding width between adjacent nodes
  -hp HEIGHTPADDING, --heightpadding HEIGHTPADDING
                        Padding height between adjacent nodes
  -e {dot,blockdiag}, --engine {dot,blockdiag}
                        Engine for output
  -o {landscape,portrait}, --orientation {landscape,portrait}
                        Orientation for blockdiag output
  -t {pdf,svg}, --type {pdf,svg}
                        Output file type
  -s, --sdsp            Treat subdomains same as slash path URL parts

Example

The input file is the output of YACA, or JSON of the same format.

./yasm.py ../yaca/output/brunch-io.json

YASM brunch.io output

$ ./yasm.py ../yaca/output/nextjs-org.json -e blockdiag --orientation landscape -wp 30 -hp 10

YASM nextjs.org output (full)

Related

YACA - Yet Another Content Auditor
Can be used as input for YASM.

License

CC BY-SA 4.0

Authors

Background

Developed originally for the class Information Architecture and Web Usability.

About

Yet Another Site Mapper

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages