MetaCell / MetaCell/meta-diagram

Add default values

Open
#8 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

As per title, we need to ensure that the default are available for the library:

if the user does not specify a componentsMap ensure there is one available that uses the react-diagram default nodes and links.
if the user specify a type that does not exists in the components map, report the error in console but as a fallback use the default type for visualization.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the componentsMap handling and the visualization type lookup in the TypeScript source. Check how react-diagram default nodes and links are exposed, then verify that missing maps use those defaults and unknown types report an error before falling back to the default visualization type.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.