Close #37 - circle representation by default in every kind of generated renkan (filter, notice, folder)
--- a/src/hdalab/views/profile.py Tue Jan 13 10:52:38 2015 +0100
+++ b/src/hdalab/views/profile.py Mon Jan 26 13:21:50 2015 +0100
@@ -303,9 +303,12 @@
translations = dict([(trans.master_id,trans.label) for trans in transqs])
# Prepare Node placer :
- np = LineNodePlacer()
- if shape=="circle":
- np = CircleNodePlacer()
+ np = CircleNodePlacer()
+ if shape=="horiz":
+ np = HorLineNodePlacer()
+ elif shape=="vert":
+ np = LineNodePlacer()
+
np.init({"datasheet": (1, len(notices)), "tags": (2, len(all_tags))})
# Place notices
@@ -419,9 +422,12 @@
# Prepare Node placer :
- np = LineNodePlacer()
- if shape=="circle":
- np = CircleNodePlacer()
+ np = CircleNodePlacer()
+ if shape=="horiz":
+ np = HorLineNodePlacer()
+ elif shape=="vert":
+ np = LineNodePlacer()
+
len_tags = len(all_tags)
if period:
len_tags += 1