Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,15 @@ impl PyGraph {
/// fd.flush()
/// graph = rx.PyGraph.read_edge_list(path=path)
/// mpl_draw(graph)
///
///
/// For example for csv based data, you may use the below code
Comment thread
rahaman-quantum marked this conversation as resolved.
Outdated
///
/// graph = rx.PyGraph.read_edge_list(path=file, deliminator=",")
Comment thread
rahaman-quantum marked this conversation as resolved.
Outdated
///
/// Data with labels for nodes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
/// Data with labels for nodes
/// Data with labels for nodes::

///
/// graph = rx.PyGraph.read_edge_list(path=file, deliminator=",",labels=True)
///
#[staticmethod]
#[pyo3(signature=(path, comment=None, deliminator=None, labels=false), text_signature = "(path, /, comment=None, deliminator=None, labels=False)")]
pub fn read_edge_list(
Expand Down