Platform
Solutions
Resources
Pricing
Sign in
Sign up
Ameya Daigavane
Workspace
Fork
Published unlisted
By
Ameya Daigavane
Edited
Jun 29, 2021
Apache 2.0
1 fork
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function
select_fig
(
tag
)
{
d3
.
select
(
viz_list
)
.
select
(
'ul'
)
.
selectAll
(
'li'
)
.
classed
(
'selected'
,
(
d
)
=>
(
d
.
tag
==
tag
)
)
;
mutable
selected_tag
=
tag
;
}
Insert cell
function
handle_click
(
event
,
d
)
{
select_fig
(
d
.
tag
)
;
}
Insert cell
mutable
selected_tag
=
"gcn"
;
Insert cell
Insert cell
Insert cell
import
{
buttons_display
as
gcn_buttons
,
W_curr
as
gcn_W_slider
,
main_div
as
gcn_div
,
network_static
as
gcn_network_static
,
network_dynamic
as
gcn_network_dynamic
,
eqn_display
as
gcn_eqn
}
from
"@ameyasd/graph-convolutional-networks"
Insert cell
import
{
buttons_display
as
gat_buttons
,
main_div
as
gat_div
,
network_static
as
gat_network_static
,
network_dynamic
as
gat_network_dynamic
,
eqn_display
as
gat_eqn
}
from
"@ameyasd/graph-attention-networks"
Insert cell
import
{
buttons_display
as
graphsage_buttons
,
main_div
as
graphsage_div
,
network_static
as
graphsage_network_static
,
network_dynamic
as
graphsage_network_dynamic
,
eqn_display
as
graphsage_eqn
}
from
"@ameyasd/graph-sample-and-aggregate-graphsage"
;
Insert cell
import
{
buttons_display
as
gin_buttons
,
main_div
as
gin_div
,
network_static
as
gin_network_static
,
network_dynamic
as
gin_network_dynamic
,
eqn_display
as
gin_eqn
}
from
"@ameyasd/graph-isomorphism-networks"
Insert cell
d3
=
require
(
"d3@6"
)
Insert cell
Insert cell
gnn_models
=
[
{
'descr'
:
'GCN'
,
'tag'
:
'gcn'
}
,
{
'descr'
:
'GAT'
,
'tag'
:
'gat'
}
,
{
'descr'
:
'GraphSAGE'
,
'tag'
:
'graphsage'
}
,
{
'descr'
:
'GIN'
,
'tag'
:
'gin'
}
,
]
Insert cell
Insert cell
One platform
to build and deploy the best data apps
Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
viz_list
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buttons
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fig
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
eqn
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
select_fig
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
handle_click
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
selected_tag
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
interactive_list
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
network_display_hack
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
gnn_models
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
style
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML