swift-auto-diagram icon indicating copy to clipboard operation
swift-auto-diagram copied to clipboard

Unable to run Swift Class Diagram on my swift project

Open uagraw opened this issue 6 years ago • 3 comments

Hi Team,

I'm unable to run Swift Class Diagram on my swift project. Upon running the command, the web page with UML diagram isn't opening up.

Also, when I'm trying to run this utility on sample swift project (https://github.com/soapyigu/Swift-30-Projects), this tool isn't giving me the UML diagram, instead only Connection diagram is being returned.

Please advice!

Thanks!

Cc: [email protected]

uagraw avatar Nov 29 '18 09:11 uagraw

Hello @uagraw,

Thank you for reporting this issue. Unfortunately, our latest update changed the logic of the diagram creation which is why you're getting a different type of diagram. Here's the full explanation: https://github.com/yoshimkd/swift-auto-diagram/issues/18#issuecomment-435686121. Can you please try the workaround mentioned there and let us know if that diagram is good for you?

Best Regards, Jovan

yoshimkd avatar Nov 29 '18 09:11 yoshimkd

Thanks Jovan for your prompt reply. Will give it a try using the workaround.

But besides that, could you help us in knowing that why this tool isn't generating any diagram for my swift project? When I run the command from terminal, i.e. 'ruby generateEntityDiagram.rb ~/documents/bbbiOS-swiftTools/bbbiOS', it doesn't generates any output.

screen shot 2018-11-29 at 4 04 58 pm

uagraw avatar Nov 29 '18 10:11 uagraw

I can't tell what is happening without more information. You can run the command with the -v option to get more details about what is happening.

yoshimkd avatar Nov 29 '18 11:11 yoshimkd