#353: Set default startnode to first existing action

This commit is contained in:
frikky
2021-05-03 17:10:55 +02:00
parent 002849779e
commit 3a8b61510b
6 changed files with 324 additions and 580 deletions
+22 -13
View File
@@ -40,6 +40,7 @@ const data = [{
'background-width': '100%',
'background-height': '100%',
'border-radius': '5px',
'z-index': 5001,
},
},
{
@@ -47,6 +48,8 @@ const data = [{
css: {
'width': '30px',
'height': '30px',
'z-index': 5000,
'font-size': '0px',
},
},
{
@@ -54,6 +57,8 @@ const data = [{
css: {
'width': '30px',
'height': '30px',
'z-index': 5000,
'font-size': '0px',
},
},
{
@@ -119,6 +124,7 @@ const data = [{
'border-color': '#80deea',
'width': '80px',
'height': '80px',
'font-size': '18px',
},
},
{
@@ -204,8 +210,9 @@ const data = [{
'border-width': '12px',
'transition-property': 'border-width',
'transition-duration': '0.25s',
'font-size': '30px',
'label': 'data(label)',
'font-size': '18px',
'color': 'white',
},
},
{
@@ -240,17 +247,6 @@ const data = [{
"line-gradient-stop-colors": ["#41dcab", "#41dcab"],
},
},
{
selector: 'edge[?hasErrors]',
css: {
'target-arrow-color': '#991818',
'line-color': '#991818',
'line-style': 'dashed',
"line-fill": "linear-gradient",
"line-gradient-stop-positions": ["0.0", "100"],
"line-gradient-stop-colors": ["#991818", "#991818"],
},
},
{
selector: '.eh-handle',
style: {
@@ -291,6 +287,19 @@ const data = [{
'target-arrow-color': '#f85a3e',
},
}
]
]
//{
// selector: 'edge[?hasErrors]',
// css: {
// 'target-arrow-color': '#991818',
// 'line-color': '#991818',
// 'line-style': 'dashed',
// "line-fill": "linear-gradient",
// "line-gradient-stop-positions": ["0.0", "100"],
// "line-gradient-stop-colors": ["#991818", "#991818"],
// },
//},
export default data
File diff suppressed because one or more lines are too long