-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
LOVE this! Especially the horizontal layout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my perspective this is a great design for our current graph requirements. I'm approving this, but I'd like to hear a few more inputs from the team prior to merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general look/feel is good. I have one comment specifically about the "octagon" description. While today it is technically correct to say that the octagon only really shows up when you got errors in a connection to that target (but notice the description doesn't define what
that "target" is), the octagon truly represents a "service". I think the description for the octagon should say what it represents ("a service"), not that it represents a failed connection to an unknown target. It just so happens that today the octagon only shows up when an error occurs in a request to that service. But hopefully in the near future we'll be able to show octagons (services) receiving successful requests (there are design discussions ongoing about this).
Looks nice, I do have a couple of comments: First, I think for the new legend we may want to actually use a full image as produced from UX. The legend-details.png in the PR is pretty close and it will provide a nice look. It will likely be easier than piecing together all of the small images necessary for this legend, and updates will just be a revision to the image. Not exactly sure what tool is being used, though. BUt we could use a less specialized tool if necessary. It may not do well on a mobile device but then again, neither will a graph of any size. I agree with Mazz about the Octagon description but have a few more suggestions as well:
The arrow color thresholds are not correct given the current code (whether the code thresholds are correct is another question):
|
Right now, the diamond represents 2 things on the graph - a failed request and a traffic source. that might cause confusion. |
@abonas , The diamond does not represent a failed request. It's only used to represent a traffic source. A traffic source is basically a node that has only outgoing edges. Note that outsider trumps traffic source, so a node will be a pentagon over a diamond. The diamond is most commonly used for the "unknown" node. We may want to discuss the diamond in the next round of graph UX. |
@jshaughn I think @abonas is referring to the little diamonds on the red edges in the traffic animation - the little red diamonds in the animation refers to failed requests. I don't see the confusion myself (that is a little red moving diamond on the edge, whereas the diamond shaped nodes are larger, and not moving, and not on edges - but it is true that the SHAPE is the same between the two (diamond).) |
indeed that was exactly what I was referring to @jmazzitelli :) |
Ah, OK, thanks. I guess that shape is to help in the case of color blindness. I mean, I guess you could say the same for the circle/dots. I think the context is enough to differentiate. |
@josejulio has done some preliminary work with this, there is an animated gif here showing how its working in his pr: https://user-images.githubusercontent.com/3845764/44868584-e25e6b80-ac50-11e8-9108-ace0dbfc5b09.gif From the discussion today, it looks like we might want to use the long short type and adjust based on the width of the browser. But with @josejulio work, its moveable, and I think the more square type might work better for that. Any opinions on how we should proceed with this? @cshinn @serenamarie125 Do we still want the long and narrow kind and adjust based on screen width? Should the legend be moveable or stuck in place? |
An SVG would be awesome :) Thanks |
I've sent out the relevant SVG and I'll update this PR when I get a chance. Then it should be all set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @cshinn
Add recommendations for an in-graph legend.
I tried to keep things relatively small, but there are a lot of different things to display. I've included a couple of options for layouts that might be better for certain screen sizes.
More detailed descriptions including what different text pieces mean could exist on an outside documentation page.
Closes #10