Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blocked] Directed graph React component #222

Closed
wants to merge 3 commits into from

Conversation

tiffon
Copy link
Member

@tiffon tiffon commented Jun 28, 2018

Directed graph component as an npm package.

These changes have been reviewed in #212.

I'll issue a separate PR with unit tests and better docs.

I'd like to get this merged into master as I'm currently working on trace diffs.

screen shot 2018-06-28 at 8 54 17 am

cc @simonrobb – Please review when you get the chance.

tiffon and others added 2 commits June 25, 2018 13:49
* Prep the repo for separately developed components

Signed-off-by: Joe Farro <joef@uber.com>

* WIP - Very rough graph layout functionality

Signed-off-by: Joe Farro <joef@uber.com>

* Graph layout functionality is in solid shape

Outstanding:
* tests
* calculate edges via several workers when there are many edges

Signed-off-by: Joe Farro <joef@uber.com>

* Fix minor misc issues with plexus layout

Signed-off-by: Joe Farro <joef@uber.com>

* Fix uberinternal yarn.lock issues

Signed-off-by: Joe Farro <joef@uber.com>

* Fix uberinternal yarn.lock issues

Signed-off-by: Joe Farro <joef@uber.com>

* Upgrade react to 16.3.2

Signed-off-by: Joe Farro <joef@uber.com>

* Upgrade flow to 0.71.0

Signed-off-by: Joe Farro <joef@uber.com>

* Very rough React graph component

Signed-off-by: Joe Farro <joef@uber.com>

* Enable custom props for graph elements

Signed-off-by: Joe Farro <joef@uber.com>

* The graph refreshes when it gets new data

Signed-off-by: Joe Farro <joef@uber.com>

* Make the jaeger-ui package private

Signed-off-by: Joe Farro <joef@uber.com>

* Misc cleanup for plexus package.json

Signed-off-by: Joe Farro <joef@uber.com>

* Fix issues with plexus package.json

Signed-off-by: Joe Farro <joef@uber.com>

* Don't output a CSS file for plexus

Signed-off-by: Joe Farro <joef@uber.com>

* Increase plexus node spacing for neato layouts

Signed-off-by: Joe Farro <joef@uber.com>

* Update plexus to 0.0.1-dev.2

Signed-off-by: Joe Farro <joef@uber.com>

* Adding new issue and pull request template (#219)

Signed-off-by: Prakriti <prakritibansal98@gmail.com>

* plexus readme, remove `LayoutManager.dispose()`

Signed-off-by: Joe Farro <joef@uber.com>

* remove unecessary package

Signed-off-by: Joe Farro <joef@uber.com>

* Add more complex graphs to plexus demo

Signed-off-by: Joe Farro <joef@uber.com>

* Start the worker ID at 0

Signed-off-by: Joe Farro <joef@uber.com>
@tiffon tiffon requested review from yurishkuro and saminzadeh June 28, 2018 12:59
@ghost ghost assigned tiffon Jun 28, 2018
@ghost ghost added the review label Jun 28, 2018
@codecov
Copy link

codecov bot commented Jun 28, 2018

Codecov Report

Merging #222 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
+ Coverage   89.94%   90.03%   +0.09%     
==========================================
  Files         107      107              
  Lines        2366     2368       +2     
  Branches      481      481              
==========================================
+ Hits         2128     2132       +4     
+ Misses        200      198       -2     
  Partials       38       38
Impacted Files Coverage Δ
packages/jaeger-ui/src/components/App/TopNav.js 77.77% <100%> (+2.77%) ⬆️
...neViewer/TimelineHeaderRow/TimelineViewingLayer.js 90.74% <0%> (+3.7%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 378616f...df2e0f0. Read the comment docs.

}
if (type === 'layout-error') {
// TODO(joe): implement retries with more spacing
console.error('layout-error', event);
Copy link

@simonrobb simonrobb Jun 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these TODOs to be fixed before merge?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they're enhancements

@tiffon
Copy link
Member Author

tiffon commented Jul 2, 2018

cc @whistlinwilly

@tiffon tiffon changed the title Directed graph React component [Blocked] Directed graph React component Jul 9, 2018
@tiffon tiffon closed this Jul 11, 2018
@ghost ghost removed the review label Jul 11, 2018
@yurishkuro yurishkuro deleted the develop-directed-graph branch January 29, 2020 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants