How do I layout the edges clearly?
up vote
0
down vote
favorite
The image shown looks cluttered even though I have changed the rank to LR. This is generated by a tool and I have to modify it myself.
This answer has a possible solution. I understand that if I am able to assign numbers to the nodes I can use the solution.
Am I right ? I will be able to modify this large dot file using Java code.
I have tried this.
overlap=scale ;
splines=true;
Are there other solutions I should investigate ?
I have copied part of the file here.
digraph "cxf-api-2.1.3.jar" {
// Path: cxf-api-2.1.3.jar
"org.apache.cxf" -> "java.io (java.base)";
"org.apache.cxf" -> "java.lang (java.base)";
"org.apache.cxf" -> "java.lang.reflect (java.base)";
"org.apache.cxf" -> "java.util (java.base)";
"org.apache.cxf" -> "java.util.logging (java.logging)";
"org.apache.cxf" -> "org.apache.cxf (cxf-api-2.1.3.jar)";
graphviz overlap dot edge
add a comment |
up vote
0
down vote
favorite
The image shown looks cluttered even though I have changed the rank to LR. This is generated by a tool and I have to modify it myself.
This answer has a possible solution. I understand that if I am able to assign numbers to the nodes I can use the solution.
Am I right ? I will be able to modify this large dot file using Java code.
I have tried this.
overlap=scale ;
splines=true;
Are there other solutions I should investigate ?
I have copied part of the file here.
digraph "cxf-api-2.1.3.jar" {
// Path: cxf-api-2.1.3.jar
"org.apache.cxf" -> "java.io (java.base)";
"org.apache.cxf" -> "java.lang (java.base)";
"org.apache.cxf" -> "java.lang.reflect (java.base)";
"org.apache.cxf" -> "java.util (java.base)";
"org.apache.cxf" -> "java.util.logging (java.logging)";
"org.apache.cxf" -> "org.apache.cxf (cxf-api-2.1.3.jar)";
graphviz overlap dot edge
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The image shown looks cluttered even though I have changed the rank to LR. This is generated by a tool and I have to modify it myself.
This answer has a possible solution. I understand that if I am able to assign numbers to the nodes I can use the solution.
Am I right ? I will be able to modify this large dot file using Java code.
I have tried this.
overlap=scale ;
splines=true;
Are there other solutions I should investigate ?
I have copied part of the file here.
digraph "cxf-api-2.1.3.jar" {
// Path: cxf-api-2.1.3.jar
"org.apache.cxf" -> "java.io (java.base)";
"org.apache.cxf" -> "java.lang (java.base)";
"org.apache.cxf" -> "java.lang.reflect (java.base)";
"org.apache.cxf" -> "java.util (java.base)";
"org.apache.cxf" -> "java.util.logging (java.logging)";
"org.apache.cxf" -> "org.apache.cxf (cxf-api-2.1.3.jar)";
graphviz overlap dot edge
The image shown looks cluttered even though I have changed the rank to LR. This is generated by a tool and I have to modify it myself.
This answer has a possible solution. I understand that if I am able to assign numbers to the nodes I can use the solution.
Am I right ? I will be able to modify this large dot file using Java code.
I have tried this.
overlap=scale ;
splines=true;
Are there other solutions I should investigate ?
I have copied part of the file here.
digraph "cxf-api-2.1.3.jar" {
// Path: cxf-api-2.1.3.jar
"org.apache.cxf" -> "java.io (java.base)";
"org.apache.cxf" -> "java.lang (java.base)";
"org.apache.cxf" -> "java.lang.reflect (java.base)";
"org.apache.cxf" -> "java.util (java.base)";
"org.apache.cxf" -> "java.util.logging (java.logging)";
"org.apache.cxf" -> "org.apache.cxf (cxf-api-2.1.3.jar)";
graphviz overlap dot edge
graphviz overlap dot edge
edited Nov 11 at 15:32
asked Nov 11 at 14:44
Mohan Radhakrishnan
1,19531023
1,19531023
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14
add a comment |
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Using rankdir=LR
only changed the graph from horizontal to vertical layout, which didn't help much in your case. The helping trick in the answer you mentioned, was that you pick a few items and group them together on same line :
rank = same; sample1 sample10 sample20
...and you use real names, same as elsewhere in your graph. You have to experiment, but the idea was to choose items which are far enough from each others, so that wrapping actually makes the new graph more readable.
One more thing: you have limited choice in grouping items. The full list of ranking options is "same", "min", "source", "max", "sink", but I've had limited success only with rank=same
and rank=sink
.
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment.."java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.
– Mohan Radhakrishnan
Nov 27 at 10:41
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Using rankdir=LR
only changed the graph from horizontal to vertical layout, which didn't help much in your case. The helping trick in the answer you mentioned, was that you pick a few items and group them together on same line :
rank = same; sample1 sample10 sample20
...and you use real names, same as elsewhere in your graph. You have to experiment, but the idea was to choose items which are far enough from each others, so that wrapping actually makes the new graph more readable.
One more thing: you have limited choice in grouping items. The full list of ranking options is "same", "min", "source", "max", "sink", but I've had limited success only with rank=same
and rank=sink
.
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment.."java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.
– Mohan Radhakrishnan
Nov 27 at 10:41
add a comment |
up vote
0
down vote
accepted
Using rankdir=LR
only changed the graph from horizontal to vertical layout, which didn't help much in your case. The helping trick in the answer you mentioned, was that you pick a few items and group them together on same line :
rank = same; sample1 sample10 sample20
...and you use real names, same as elsewhere in your graph. You have to experiment, but the idea was to choose items which are far enough from each others, so that wrapping actually makes the new graph more readable.
One more thing: you have limited choice in grouping items. The full list of ranking options is "same", "min", "source", "max", "sink", but I've had limited success only with rank=same
and rank=sink
.
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment.."java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.
– Mohan Radhakrishnan
Nov 27 at 10:41
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Using rankdir=LR
only changed the graph from horizontal to vertical layout, which didn't help much in your case. The helping trick in the answer you mentioned, was that you pick a few items and group them together on same line :
rank = same; sample1 sample10 sample20
...and you use real names, same as elsewhere in your graph. You have to experiment, but the idea was to choose items which are far enough from each others, so that wrapping actually makes the new graph more readable.
One more thing: you have limited choice in grouping items. The full list of ranking options is "same", "min", "source", "max", "sink", but I've had limited success only with rank=same
and rank=sink
.
Using rankdir=LR
only changed the graph from horizontal to vertical layout, which didn't help much in your case. The helping trick in the answer you mentioned, was that you pick a few items and group them together on same line :
rank = same; sample1 sample10 sample20
...and you use real names, same as elsewhere in your graph. You have to experiment, but the idea was to choose items which are far enough from each others, so that wrapping actually makes the new graph more readable.
One more thing: you have limited choice in grouping items. The full list of ranking options is "same", "min", "source", "max", "sink", but I've had limited success only with rank=same
and rank=sink
.
answered Nov 26 at 8:36
JOM
6,231567107
6,231567107
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment.."java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.
– Mohan Radhakrishnan
Nov 27 at 10:41
add a comment |
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment.."java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.
– Mohan Radhakrishnan
Nov 27 at 10:41
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
I will experiment with the idea and come back in a while.
– Mohan Radhakrishnan
Nov 26 at 9:00
The syntax you suggest works but I have to experiment..
"java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.– Mohan Radhakrishnan
Nov 27 at 10:41
The syntax you suggest works but I have to experiment..
"java.lang (java.base)" ->"org.apache.cxf.common.i18n (not found)" [ style = invis ];
This is accepted too.– Mohan Radhakrishnan
Nov 27 at 10:41
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53249820%2fhow-do-i-layout-the-edges-clearly%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You might consider a different layout engine like neato, twopi, or fdp instead of dot. Dot graphs tend to get cluttered when you too many N-to-1 or 1-to-N relationships where N > 5.
– tk421
Nov 15 at 23:14