Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f6ab2817

Přidáno uživatelem Tomáš Šimandl před téměř 6 roky(ů)

Added spade configuration file to resources

Zobrazit rozdíly:

sources/src/main/resources/config.json
1
{
2
  "defaultFilter": {
3
    "vertexArchetypeFilter": {
4
      "archetypes": [ "Ticket", "Person", "Wiki", "File"],
5
      "matchType": "matching"
6
    },
7

  
8
    "edgeArchetypeFilter": {
9
      "archetypes": [
10
        {
11
          "fromArchetypes": [ "Person" ],
12
          "edgeArchetypes": [ "Authorship" ],
13
          "toArchetypes": [ "Ticket", "File" ]
14
        },
15
        {
16
          "fromArchetypes": [ "Person" ],
17
          "edgeArchetypes": [ "Assignment" ],
18
          "toArchetypes": [ "Ticket" ]
19
        },
20
        {
21
          "fromArchetypes": [ "File", "Ticket", "Wiki" ],
22
          "edgeArchetypes": [ "ItemRelation" ],
23
          "toArchetypes": [ "File", "Ticket", "Wiki" ]
24
        },
25
        {
26
          "fromArchetypes": [ "Person" ],
27
          "edgeArchetypes": [ "Modification" ],
28
          "toArchetypes": [ "Wiki" ]
29
        }
30
      ],
31
      "matchType": "matching"
32
    },
33

  
34
    "vertexAttributeFilters": [
35
      {
36
        "archetype": "Ticket",
37
        "attributeName": "Status super class",
38
        "filter": {
39
          "values": [ "OPEN" ],
40
          "matchType": "any"
41
        }
42
      },
43
      {
44
        "archetype": "Person",
45
        "attributeName": "Role super classes",
46
        "filter": {
47
          "values": [ "TEAMMEMBER" ],
48
          "matchType": "any"
49
        }
50
      }
51
    ],
52

  
53
    "edgeAttributeFilters": [
54
      {
55
        "archetype": "Modification",
56
        "attributeName": "Relation",
57
        "filter": {
58
          "values": [ "last modified by", "last modified" ],
59
          "matchType": "any"
60
        }
61
      }
62
    ]
63
  },
64

  
65
  "defaultGroupArchetypes": [ "File", "Commit", "RepoFile"],
66

  
67
  "archetypeIcons": [
68
    {
69
      "name" : "Person",
70
      "value" : "<circle r=\"3\" cx=\"6\" cy=\"3\" fill=\"black\" stroke-width=\"0\"\/><path d=\"M 1 10 A 6 4 0 0 1 11 10 L 11 15 L 1 15\" fill=\"black\" stroke-width=\"0\"\/>"
71
    },
72
    {
73
      "name" : "Wiki",
74
      "value" : "<text x=\"6\" y=\"7\" font-weight=\"bold\" style=\"font-family: serif !important; text-anchor: middle\">W<\/text>"
75
    },
76
    {
77
      "name" : "Commit",
78
      "value" : "<circle r=\"4\" cx=\"6\" cy=\"7.5\" fill-opacity=\"0\" stroke=\"black\" stroke-width=\"2\"\/><line x1=\"6\" y1=\"1\" x2=\"6\" y2=\"3.5\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\"\/><line x1=\"6\" y1=\"11.5\" x2=\"6\" y2=\"14\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\"\/>"
79
    },
80
    {
81
      "name" : "File",
82
      "value" : "<polygon points=\"0.5,0.5 7.5,0.5 11.5,4.5 11.5,14.5 0.5,14.5\" fill=\"white\" stroke=\"black\" stroke-linejoin=\"round\" \/><polygon points=\"7.5,0.5 11.5,4.5 7.5,4.5\" fill=\"gray\" stroke=\"black\" stroke-linejoin=\"round\" \/>"
83
    },
84
    {
85
      "name" : "RepoFile",
86
      "value" :"<polygon points=\"0.5,0.5 7.5,0.5 11.5,4.5 11.5,14.5 0.5,14.5\" fill=\"white\" stroke=\"black\" stroke-linejoin=\"round\" \/><polygon points=\"7.5,0.5 11.5,4.5 7.5,4.5\" fill=\"gray\" stroke=\"black\" stroke-linejoin=\"round\" \/><ellipse cx=\"5\" cy=\"7\" rx=\"3\" ry=\"1\" stroke=\"black\" fill=\"transparent\" stroke-width=\"0.5\"\/><path d=\"M 2 7 L 2 12 A 3 1 0 0 0 8 12 L 8 7\" stroke-width=\"0.5\" stroke=\"black\" fill=\"transparent\"\/><path d=\"M 2 8.66 A 3 1 0 0 0 8 8.66\" stroke-width=\"0.5\" stroke=\"black\" fill=\"transparent\"\/><path d=\"M 2 10.33 A 3 1 0 0 0 8 10.33\" stroke-width=\"0.5\" stroke=\"black\" fill=\"transparent\"\/>"
87
    },
88
    {
89
      "name" : "Ticket",
90
      "value" : "<path d=\"M 1 0 L 3 0 A 2 1 0 0 0 9 0 L 11 0, 11 15, 9 15 A 2 1 0 0 0 3 15 L 1 15 Z\" stroke=\"black\" fill=\"none\" stroke-linejoin=\"round\"\/><line x1=\"1\" y1=\"6\" x2=\"11\" y2=\"6\" stroke=\"black\" stroke-width=\"0.5\" stroke-dasharray=\"1,1\" stroke-linecap=\"round\"\/>"
91
    },
92
    {
93
      "name" : "Change",
94
      "value" : "<polygon points=\"1,4 5,4 3,1\" fill=\"black\" stroke=\"black\" stroke-linejoin=\"round\" \/><line x1=\"3\" y1=\"2\" x2=\"3\" y2=\"13\" stroke=\"black\"\/><polygon points=\"7,11 11,11 9,14\" fill=\"black\" stroke=\"black\" stroke-linejoin=\"round\" \/><line x1=\"9\" y1=\"2\" x2=\"9\" y2=\"13\" stroke=\"black\"\/>"
95
    }
96
  ]
97
}

Také k dispozici: Unified diff