summaryrefslogtreecommitdiff
path: root/extras/graph.py
diff options
context:
space:
mode:
authorSanky <gsanky@gmail.com>2013-02-02 23:13:32 +0100
committerSanky <gsanky@gmail.com>2013-02-02 23:20:50 +0100
commit7df002c3e20f1b728b1d29a877c3731d4867f502 (patch)
tree14cf8cb4dc2a95f4137de1967679dd45df3c0db8 /extras/graph.py
parent6b8d77ffb23443cac8ca8bc570c758f7b77fa109 (diff)
parent1bf1d6e3ea7b75445803ed8d01c49014adf2e114 (diff)
Merge https://github.com/kanzure/pokecrystal
Conflicts: constants.asm extras/crystal.py main.asm
Diffstat (limited to 'extras/graph.py')
-rw-r--r--extras/graph.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/extras/graph.py b/extras/graph.py
index 98f871ae2..b5450835f 100644
--- a/extras/graph.py
+++ b/extras/graph.py
@@ -1,12 +1,13 @@
-#!/usr/bin/python
-# author: Bryan Bishop <kanzure@gmail.com>
-# date: 2012-06-20
+# -*- coding: utf-8 -*-
import networkx as nx
-from romstr import RomStr, DisAsm, \
- relative_jumps, call_commands, \
- relative_unconditional_jumps
+from romstr import (
+ RomStr,
+ relative_jumps,
+ call_commands,
+ relative_unconditional_jumps,
+)
class RomGraph(nx.DiGraph):
""" Graphs various functions pointing to each other.