3 |
from org import fenfire |
from org import fenfire |
4 |
|
|
5 |
from org.fenfire.modules.pp import * |
from org.fenfire.modules.pp import * |
6 |
from org.fenfire.vocab import PP |
from org.fenfire.vocab import STRUCTLINK |
7 |
import org.fenfire.view.buoy |
import org.fenfire.view.buoy |
8 |
from org.fenfire.util import URN5Namespace, Pair |
from org.fenfire.util import URN5Namespace, Pair |
9 |
from org.nongnu.libvob.buoy import BuoyViewNodeType,\ |
from org.nongnu.libvob.buoy import BuoyViewNodeType,\ |
35 |
nodeB = fenfire.swamp.Nodes.get(uriB) |
nodeB = fenfire.swamp.Nodes.get(uriB) |
36 |
|
|
37 |
# assoc |
# assoc |
38 |
fen.graph.add(nodeA, PP.association, nodeB) |
fen.graph.add(nodeA, STRUCTLINK.linkedTo, nodeB) |
39 |
|
|
40 |
global ppLinker |
global ppLinker |
41 |
ppLinker = org.fenfire.view.buoy.PPLinker(fen) |
ppLinker = org.fenfire.view.buoy.PPLinker(fen) |