When trying to add small topology map to my Next demo, I've used following construct
var topo = new nx.graphic.Topology({
adaptive: true,
...
html element where this object is attached has defined size:
style="width:100%; height:300px; border: 1px solid black;"
, but generated topo container have following attributes:
class="n-topology n-topology-blue" tabindex="0" style="width: 1906px; height: 500px;"
so there seems to be constraints regarding size of topology object. Adaptive sizing of height above 500px works well, so problem is seen only on height lower than 500px.
I've tried to search documentation, but unfortunately I'm not able to find anywhere if it's 'feature' or 'bug'.
Anyone could advice?
Thx in advance