-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: Add lit-html enabled graph #4331
feat: Add lit-html enabled graph #4331
Conversation
d9f5bbc
to
726a087
Compare
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.
@GordonSmith Didn't notice anything except those test failures that GH pointed out
@@ -76,9 +76,9 @@ export class Graph2 extends GraphReactT<ISubgraph, IVertex, IEdge> { | |||
this._centroidFilter.update(this.centroidColor()); | |||
} | |||
} | |||
Graph2.prototype._class += " graph_Graph2"; | |||
GraphReact.prototype._class += " graph_React"; |
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.
Should this be graph_GraphReact
? Github Actions is noting some test failures below.
|
||
constructor(subgraphRenderer: Component<SG>, vertexRenderer: Component<V>, edgeRenderer: Component<E>) { | ||
super(adapter(subgraphRenderer), adapter(vertexRenderer), adapter(edgeRenderer)); | ||
} |
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.
And is the other test failure because there isn't a render function in here?
9488d23
to
3e1d0be
Compare
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.
@GordonSmith The only thing that jumped out at me were a couple of urls in one of the tests. I assumed they were icon images, they just looked weird (some kind of Thai language subdomain of bing.com?)
["a", "[email protected]", "fa-at", false, false, false, "fa-plus", "https://th.bing.com/th/id/OIP.3FhSHq5xMXMDZ7gYBZ1nzQHaHa?w=210&h=210&c=7&r=0&o=5&pid=1.7"], | ||
[1, "Napoleon", "fa-user-o", true, true, true, "fa-plus", "https://th.bing.com/th/id/OIP.3FhSHq5xMXMDZ7gYBZ1nzQHaHa?w=210&h=210&c=7&r=0&o=5&pid=1.7"], |
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.
What are these urls?
daa3081
to
bac0657
Compare
Signed-off-by: Gordon Smith <[email protected]> WIP
cd53708
to
8dec33c
Compare
Checklist:
Testing: