Update topology to include tag

Tag can be used to specify the sub-shape for the given node.

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
This commit is contained in:
Akash Srivastava
2018-10-16 01:04:42 +05:30
parent fdd3c4f147
commit ea9ad0a1e6
7 changed files with 44 additions and 0 deletions
@@ -60,6 +60,7 @@ class NodeContainer extends React.Component {
<GraphNode
id={this.props.id}
shape={this.props.shape}
tag={this.props.tag}
label={this.props.label}
labelMinor={this.props.labelMinor}
labelOffset={labelOffset}
@@ -162,6 +162,7 @@ class NodesChartElements extends React.Component {
focused={node.get('focused')}
highlighted={node.get('highlighted')}
shape={shape}
tag={node.get('tag')}
stacked={node.get('stack')}
key={node.get('id')}
id={node.get('id')}