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

[FEA] store node, edge file_id and dataset_id #610

Open
lmeyerov opened this issue Nov 1, 2024 · 0 comments
Open

[FEA] store node, edge file_id and dataset_id #610

lmeyerov opened this issue Nov 1, 2024 · 0 comments

Comments

@lmeyerov
Copy link
Contributor

lmeyerov commented Nov 1, 2024

Is your feature request related to a problem? Please describe.

In python flows like g.plot(), it would be quite handy to be able to get the node_file_id, edge_file_id, and dataset_id

This came up in some recent testing work. with the new remote endpoints, presumably, this will become even more natural.

Describe the solution you'd like

  1. New Plottable fields _node_file_id, _edge_field_id, _dataset_id, _url

  2. plot(inplace=True) => fields update to original Plottable; default on

g.plot(inplace=True)
...
print(g._node_file_id, g._edge_file_id, g._dataset_id)

Convenient default for typical notebook plotting use

  1. plot(return_plottable=true) => return Plottable, with new fields; default off
g2 = g1.plot(return_plottable=True)
print(g._url, g._node_file_id, g._edge_file_id, g._dataset_id)

Convenient flag for typical app dev flows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant