Closed anton-m-kashin closed 5 years ago
I have some issue, when trying to use -f dot format. After the generation competes I got:
-f dot
digraph dependencies { node [fontname=monospace, fontsize=9, shape=box, style=rounded] "" -> "" // ... "" -> "" }
I've investigate a little and found that the solution is to change the line https://github.com/PaulTaykalo/objc-dependency-visualizer/blob/master/lib/tree_serializer.rb#L58 which is now:
s += "#{indent}\"#{link['source']}\" -> \"#{link['dest']}\"\n"
to the line:
s += "#{indent}\"#{link[:source]}\" -> \"#{link[:dest]}\"\n"
So using of symbols instead of string to query link helps. I don't now rube well, so I'm not sure that it's right solution.
I have some issue, when trying to use
-f dot
format. After the generation competes I got:I've investigate a little and found that the solution is to change the line https://github.com/PaulTaykalo/objc-dependency-visualizer/blob/master/lib/tree_serializer.rb#L58 which is now:
to the line:
So using of symbols instead of string to query link helps. I don't now rube well, so I'm not sure that it's right solution.