Skip to content
/ sy2dg Public

This product converts syllabuses data to a directed graph for representing the relations of them.

License

Notifications You must be signed in to change notification settings

tamada/sy2dg

Repository files navigation

Build Status Coverage Status codebeat badge License Version

sy2dg

This product converts syllabuses data to a directed graph for representing the relations of them. Generally, syllabuses have the description of already taken lectures and future lectures. These relations are quite important to plan for the diploma.

Usage

This products contains the following products.

  • ksu2json
    • converts syllabuses in the HTML format for the KSU to json format of sy2dg.
  • json2dg
    • converts json data to directed graph for visualizing by dgviewer
  • sy2dg
    • converts syllabuses by parsing specified parser to json format of sy2dg
  • dgviewer
    • visualizing the directed graph of syllabuses.

ksu2json

ksu2json [OPTIONS] <ARGUMENTS...>
OPTIONS
    -d, --dest <DIR>     specifies destination directory.
    -h, --help           print this message.
ARGUMENTS
    html syllabus documents.

json2dg

json2dg [OPTIONS] <DIR>
OPTIONS
    -t, --target <PATTERN>    specifies the pattern of target file name in the SYLLABUSES_DIR.
    -h, --help                print this message.
DIR
    directories contain the json files.

sy2dg

sy2dg [OPTIONS] <SYLLABUSES_DIR>
OPTIONS
    -h, --help                print this message.
    -p, --parser <PARSER>     specifies parser of a syllabus. default is "default".
                              available values are: "default", and "json".
    -u, --url <BASE_URL>      specifies the base of URL for syllabus data.
    -t, --target <PATTERN>    specifies the pattern of target file name in the SYLLABUSES_DIR.
ARGUMENTS
    SYLLABUSES_DIR            the directory containing the syllabuses data.

dgviewer

Graph viewer of sy2dg and json2dg.

About

This product converts syllabuses data to a directed graph for representing the relations of them.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published