How to use cargo run from arcs to generate a BVGraph? #118
Unanswered
cirosantilli
asked this question in
Q&A
Replies: 3 comments 8 replies
-
|
Are you using the Github version? Your example works for me and, yes, we're really behind schedule with releases... |
Beta Was this translation helpful? Give feedback.
8 replies
-
|
On 26 Feb 2025, at 14:06, cirosantilli ***@***.***> wrote:
Hi, yes, I'm at main c77b4c9 I built with:
cargo build
and then ran the above command.
I should also clarify that after running cargo run the terminal stays locked at:
Compiling webgraph v0.3.0 (/home/ciro/git/webgraph-rs)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s
Running `target/debug/webgraph from arcs --num-nodes 4 tmp.nodes`
[2025-02-26T14:03:04Z INFO webgraph] Reading arcs CSV
for several seconds. Is that expected for such a small graph? Then as soon as I randomly hit Enter then it prints the:
Ahhh. It's from stdin. You just gave the tool the empty line. Try <.
Ciao,
seba
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The docs should be clear now, but I changed default separator with TAB for compatibility with the Java version. You can change the separator with an option tho. I'm adding an example to the README. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking at how to generate a BVGraph from some text file via the CLI, and
cargo run from arcsseemed like the most likely candidate.Could anyone provide an example of input file that will work for the command? I tried:
tmp.nodes
and then:
but that blows up with:
so I must be doing somthing wrong.
I'm sure I'd be able to figure it out from the source code, but I'm doing this just for some quick fun (and maybe some Stack Overflow points! https://stackoverflow.com/questions/31321009/best-more-standard-graph-representation-file-format-graphson-gexf-graphml/79467334#79467334 ) and don't want to put more time into it right now. Hopefully the question will help others as well.
I'd also consider adding such example to the README.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions