MCPcopy Index your code
hub / github.com/component/piecon

github.com/component/piecon @0.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.4 ↗ · + Follow
1 symbols 1 edges 1 files 1 documented · 100%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

piecon

Pie charts for component/favicon inspired by the original piecon. Styled with CSS!

js pie favicons

Installation

$ component install component/piecon

Styling

Piecon utilizes component/style to enable CSS styling for Canvas rasters. For example the default style is:

.pie {
  color: #EC4E89;
  background: #bbb;
  border: 2px solid white;
}

API

new Piecon([selector])

Initialize a new Piecon with optional CSS selector used for styling, this defaults to ".pie".

Piecon#update(n)

Update the percentage to n, this will automatically draw the pie and replace the favicon.

Piecon#size(n)

Set the diameter to n.

Piecon#reset()

Reset favicon.

License

MIT

Core symbols most depended-on inside this repo

Piecon
called by 0
index.js

Shape

Function 1

Languages

TypeScript100%

Modules by API surface

index.js1 symbols

For agents

$ claude mcp add piecon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact