anvaka / anvaka/pm

how to set color on links

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.8k
Forks
156
PR merge metrics
No merged PRs in 30d

Description

hello
in my project create graph like this :
graph.addLink(item.from, item.to,{color:"red"})

then create binary file from graph like this :
ToBinary.BuildBinaryGraph(graph);


so how to get {color:"red"} in function setLinks(buffer) from project pm ??
and set my color to lineView.render(...)

Please Help Me.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the color option from graph.addLink through ToBinary.BuildBinaryGraph and the setLinks(buffer) function in project pm. Then inspect how lineView.render receives link data. Done means the color survives the binary graph path and is applied to the rendered line; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.