Cytoscape - Do not assign mappings to elements without corresponding data
<p>I have followed the advice in the error message, but I'm still getting the error.  I have a selector like the following...</p>

<pre><code>{
    selector: 'node[shape]',
    css: {
        'shape': 'data(shape)'
    }
}
</code></pre>

<p>... so, I am only using the shape property on elements that have shape defined, yet I am still getting this error.  If you remove this particular selector from the code, the error goes away, but I still don't have any shapes.  The property is only used inside this very particular selector.  Also, the data is defined on ALL elements, so this error should never be happening.  Whatever mechanics are going on behind the scenes should not be generating errors.</p>

<p>Here is a jsfiddle demonstrating this problem - <a href="https://jsfiddle.net/thardy/gbascrhw/8/" rel="nofollow noreferrer">https://jsfiddle.net/thardy/gbascrhw/8/</a></p>

<p>Any help will be greatly appreciated.</p>