Skip to content

Commit

Permalink
include positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
rhalff committed Sep 25, 2016
1 parent 8549da8 commit 65bfa2e
Showing 1 changed file with 95 additions and 18 deletions.
113 changes: 95 additions & 18 deletions src/stories/fixtures/graph.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,119 @@
export default {
caseSensitive: false,
properties: {
name: 'Count lines in a file'
},
inports: {},
outports: {},
groups: [],
processes: {
basic: { component: 'basic' },
basic2: { component: 'basic' },
basic3: { component: 'basic' },
basic4: { component: 'basic' },
basic: {
component: 'basic',
metadata: {
x: 36,
y: 36,
width: 72,
height: 72,
label: 'basic'
}
},
basic2: {
component: 'basic',
metadata: {
x: 36,
y: 180,
width: 72,
height: 72,
label: 'basic2'
}
},
basic3: {
component: 'basic',
metadata: {
x: 36,
y: 324,
width: 72,
height: 72,
label: 'basic3'
}
},
basic4: {
component: 'basic',
metadata: {
x: 36,
y: 468,
width: 72,
height: 72,
label: 'basic4'
}
},
tall: {
component: 'tall'
component: 'tall',
metadata: {
x: 180,
y: 180,
width: 72,
height: 120,
label: 'tall'
}
}
},
connections: [
{
data: 'package.json',
tgt: {
src: {
process: 'basic',
port: 'out'
},
tgt: {
process: 'tall',
port: 'in1'
},
metadata: {
route: 1
}
},
{
src: { process: 'basic', port: 'out' },
tgt: { process: 'tall', port: 'in1' },
metadata: { route: 1 }
src: {
process: 'basic2',
port: 'out'
},
tgt: {
process: 'tall',
port: 'in2'
},
metadata: {
route: 2
}
},
{
src: { process: 'basic2', port: 'out' },
tgt: { process: 'tall', port: 'in2' },
metadata: { route: 2 }
src: {
process: 'basic3',
port: 'out'
},
tgt: {
process: 'tall',
port: 'in3'
},
metadata: {
route: 3
}
},
{
src: { process: 'basic3', port: 'out' },
tgt: { process: 'tall', port: 'in3' },
metadata: { route: 3 }
src: {
process: 'basic4',
port: 'out'
},
tgt: {
process: 'tall',
port: 'in4'
}
},
{
src: { process: 'basic4', port: 'out' },
tgt: { process: 'tall', port: 'in4' }
data: 'package.json',
tgt: {
process: 'basic',
port: 'in1'
}
}
]
}

0 comments on commit 65bfa2e

Please sign in to comment.