pynsource icon indicating copy to clipboard operation
pynsource copied to clipboard

Parsing e.g. self.graph = graph produces no association

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
1. Parse

class GraphRendererOgl:
    def __init__(self, graph, oglcanvas):
        self.graph = graph

2. Look at the resulting uml produced for the 'graph' attribute.

What is the expected output? What do you see instead?

GraphRendererOgl ----> nothing

  should be

GraphRendererOgl ----> Graph

Original issue reported on code.google.com by [email protected] on 15 Jul 2012 at 2:14

GoogleCodeExporter avatar Mar 15 '15 07:03 GoogleCodeExporter

Solving this is probably complex.

Would mean interpreting 'graph' as 'Graph' class - a bit presumptious?  Then 
again we could prehaps check if there are certain methods being called on that 
object to confirm.  Yeah - that's a good idea.

Original comment by [email protected] on 15 Jul 2012 at 2:14

GoogleCodeExporter avatar Mar 15 '15 07:03 GoogleCodeExporter