neo-nie / pynsource

Automatically exported from code.google.com/p/pynsource
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 abu...@gmail.com on 15 Jul 2012 at 2:14

GoogleCodeExporter commented 8 years ago
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 abu...@gmail.com on 15 Jul 2012 at 2:14