Merge ab85a64599
into 4ce9e6f615
@ -0,0 +1,12 @@
|
||||
"""
|
||||
Camunda provides a set of general camunda services.
|
||||
"""
|
||||
|
||||
from diagrams import Node
|
||||
|
||||
|
||||
class _Camunda(Node):
|
||||
_provider = 'camunda'
|
||||
_icon_dir = 'resources/camunda'
|
||||
|
||||
fontcolor = '#ffffff'
|
@ -0,0 +1,31 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Camunda
|
||||
|
||||
|
||||
class _Automate(_Camunda):
|
||||
_type = "automate"
|
||||
_icon_dir = "resources/camunda/automate"
|
||||
|
||||
|
||||
class Decision(_Automate):
|
||||
_icon = "decision.png"
|
||||
|
||||
|
||||
class Forms(_Automate):
|
||||
_icon = "forms.png"
|
||||
|
||||
|
||||
class Operate(_Automate):
|
||||
_icon = "operate.png"
|
||||
|
||||
|
||||
class Tasklist(_Automate):
|
||||
_icon = "tasklist.png"
|
||||
|
||||
|
||||
class Workflow(_Automate):
|
||||
_icon = "workflow.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,23 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Camunda
|
||||
|
||||
|
||||
class _Design(_Camunda):
|
||||
_type = "design"
|
||||
_icon_dir = "resources/camunda/design"
|
||||
|
||||
|
||||
class Connector(_Design):
|
||||
_icon = "connector.png"
|
||||
|
||||
|
||||
class Integration(_Design):
|
||||
_icon = "integration.png"
|
||||
|
||||
|
||||
class Modeler(_Design):
|
||||
_icon = "modeler.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,23 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Camunda
|
||||
|
||||
|
||||
class _Logo(_Camunda):
|
||||
_type = "logo"
|
||||
_icon_dir = "resources/camunda/logo"
|
||||
|
||||
|
||||
class Dark(_Logo):
|
||||
_icon = "dark.png"
|
||||
|
||||
|
||||
class Light(_Logo):
|
||||
_icon = "light.png"
|
||||
|
||||
|
||||
class Orange(_Logo):
|
||||
_icon = "orange.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,15 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Camunda
|
||||
|
||||
|
||||
class _Monitor(_Camunda):
|
||||
_type = "monitor"
|
||||
_icon_dir = "resources/camunda/monitor"
|
||||
|
||||
|
||||
class Optimize(_Monitor):
|
||||
_icon = "optimize.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,54 @@
|
||||
---
|
||||
id: camunda
|
||||
title: Camunda
|
||||
---
|
||||
|
||||
Node classes list of camunda provider.
|
||||
|
||||
## camunda.automate
|
||||
|
||||
|
||||
<img width="30" src="/img/resources/camunda/automate/decision.png" alt="Decision" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.automate.Decision**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/automate/forms.png" alt="Forms" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.automate.Forms**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/automate/operate.png" alt="Operate" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.automate.Operate**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/automate/tasklist.png" alt="Tasklist" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.automate.Tasklist**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/automate/workflow.png" alt="Workflow" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.automate.Workflow**
|
||||
|
||||
## camunda.design
|
||||
|
||||
|
||||
<img width="30" src="/img/resources/camunda/design/connector.png" alt="Connector" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.design.Connector**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/design/integration.png" alt="Integration" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.design.Integration**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/design/modeler.png" alt="Modeler" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.design.Modeler**
|
||||
|
||||
## camunda.logo
|
||||
|
||||
|
||||
<img width="30" src="/img/resources/camunda/logo/dark.png" alt="Dark" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.logo.Dark**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/logo/light.png" alt="Light" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.logo.Light**
|
||||
|
||||
<img width="30" src="/img/resources/camunda/logo/orange.png" alt="Orange" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.logo.Orange**
|
||||
|
||||
## camunda.monitor
|
||||
|
||||
|
||||
<img width="30" src="/img/resources/camunda/monitor/optimize.png" alt="Optimize" style="float: left; padding-right: 5px;" >
|
||||
**diagrams.camunda.monitor.Optimize**
|
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,39 @@
|
||||
import os
|
||||
import random
|
||||
import string
|
||||
import unittest
|
||||
|
||||
from diagrams import Diagram
|
||||
from diagrams import setcluster, setdiagram
|
||||
from diagrams.camunda.logo import Dark, Light, Orange
|
||||
from diagrams.camunda.design import Modeler, Connector, Integration
|
||||
from diagrams.camunda.automate import Workflow, Decision, Forms, Operate, Tasklist
|
||||
from diagrams.camunda.monitor import Optimize
|
||||
|
||||
|
||||
class CamundaTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.name = "diagram-" + "".join([random.choice(string.hexdigits) for n in range(7)]).lower()
|
||||
|
||||
def tearDown(self):
|
||||
setdiagram(None)
|
||||
setcluster(None)
|
||||
try:
|
||||
os.remove(self.name + ".png")
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
def test_icons(self):
|
||||
with Diagram(name=self.name, show=False):
|
||||
dark = Dark("dark")
|
||||
light = Light("light")
|
||||
orange = Orange("orange")
|
||||
workflow = Workflow("workflow")
|
||||
decision = Decision("decision")
|
||||
forms = Forms("forms")
|
||||
operate = Operate("operate")
|
||||
tasklist = Tasklist("tasklist")
|
||||
modeler = Modeler("modeler")
|
||||
connector = Connector("connector")
|
||||
integration = Integration("integration")
|
||||
optimize = Optimize("optimize")
|
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |