[VisJSNetwork Reactive] How do you expand width between node and node to both sides?
Forge component by Ahmad Faris

I'm implementing a module with VisJsNetwork.

I want to expand the width between node and node a bit more to both sides as default display when I open in browser.

I actually designated "directed" layout.

    //hierarchical: false
     direction: 'LR',
     sortMethod: 'directed'
     //sortMethod: 'hubsize'

I checked the document for VisJsNetwork but I couldn't figure out.

Are you familiar with this? It'd be nice if you could give me good advice.

I look forward to your reply.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.