Add conflictology map mode and fix graph rendering reliability.
Support conflict types, involvement sizing, and map-type toggles while keeping polar sector layout; improve GraphView init retries and edge matching on network maps. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,7 +48,7 @@ class NetworkMapTypeSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = NetworkMapType
|
||||
fields = [
|
||||
'id', 'name', 'sectors', 'circles', 'is_default',
|
||||
'id', 'name', 'sectors', 'circles', 'is_default', 'conflictology_enabled',
|
||||
'created_at', 'updated_at',
|
||||
]
|
||||
read_only_fields = ['id', 'is_default', 'created_at', 'updated_at']
|
||||
@@ -77,7 +77,7 @@ class NetworkMapSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = NetworkMap
|
||||
fields = [
|
||||
'id', 'name', 'description', 'map_type',
|
||||
'id', 'name', 'description', 'map_type', 'conflict_subject',
|
||||
'created_at', 'updated_at', 'memberships_count',
|
||||
]
|
||||
read_only_fields = ['id', 'created_at', 'updated_at', 'memberships_count']
|
||||
@@ -102,7 +102,7 @@ class NetworkMapMembershipSerializer(serializers.ModelSerializer):
|
||||
model = NetworkMapMembership
|
||||
fields = [
|
||||
'id', 'map', 'map_name', 'contact', 'contact_name',
|
||||
'life_sphere', 'network_circle', 'importance',
|
||||
'life_sphere', 'network_circle', 'importance', 'conflict_involvement',
|
||||
'map_angle', 'map_radius_ratio',
|
||||
'created_at', 'updated_at',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user