|
@@ -92,7 +92,7 @@ class EmBackendGraphviz(EmBackendDummy):
|
92
|
92
|
if ((cn == 'EmType' and f.optional) or (cn == 'EmFieldGroup' and not f.optional)) and f.rel_field_id is None:
|
93
|
93
|
|
94
|
94
|
#if not (f.rel_to_type_id is None):
|
95
|
|
- if isinstance(f, EditorialModel.fieldtypes.rel2type.EmFieldRel2Type):
|
|
95
|
+ if isinstance(f, EditorialModel.fieldtypes.rel2type.EmFieldType):
|
96
|
96
|
rel_node_id = '%s%s'%(EmBackendGraphviz._component_id(c), EmBackendGraphviz._component_id(em.component(f.rel_to_type_id)))
|
97
|
97
|
|
98
|
98
|
rel_node = '\t%s [ label="rel_to_type'%rel_node_id
|
|
@@ -119,7 +119,7 @@ class EmBackendGraphviz(EmBackendDummy):
|
119
|
119
|
ret += ' { '
|
120
|
120
|
first = False
|
121
|
121
|
#if not (f.rel_to_type_id is None):
|
122
|
|
- if isinstance(f, EditorialModel.fieldtypes.rel2type.EmFieldRel2Type):
|
|
122
|
+ if isinstance(f, EditorialModel.fieldtypes.rel2type.EmFieldType):
|
123
|
123
|
ret += '<f%d> '%cntref
|
124
|
124
|
cntref += 1
|
125
|
125
|
ret += f.name
|