Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@penrose/roger

Package Overview
Dependencies
Maintainers
6
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@penrose/roger

This package is a command-line application that depends on `@penrose/core` and processes Penrose diagrams. See [the docs on the Penrose website][website docs].

latest
npmnpm
Version
3.3.0
Version published
Weekly downloads
157
-59.64%
Maintainers
6
Weekly downloads
 
Created
Source

@penrose/roger: a CLI for Penrose

This package is a command-line application that depends on @penrose/core and processes Penrose diagrams. See the docs on the Penrose website.

Usage:

roger <command>

Commands:
  roger trio [trio..]    Generate a diagram from a Penrose trio.
  roger trios [trios..]  Create diagrams from multiple .trio.json files.
  roger watch            Watch the current folder for files & changes (must end
                         in .substance, .style, .domain)
  roger shapedefs        Generate a JSON file that contains all shape definition
                         s in the Penrose system.

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Getting started

  • Follow the instruction in CONTRIBUTING.md to install Penrose.
  • Run roger trio packages/examples/src/set-theory-domain/tree-euler.trio.json from the repo root. The output SVG will appear in the console.

Using roger for local development

  • If you are developing a module in core, you can run yarn start in the project root direcory, which will continuously watch your changes in core and update your build.
  • Check the console before you run roger to make sure your changes in core are not causing any errors.
  • If the build is successful, roger will now be using the most recent version of core when batch-processing Penrose programs.

FAQs

Package last updated on 28 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts