Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

New type of node: Supernode. The supernode could have multiple connection subnodes. #685

Closed
scarr opened this issue Mar 4, 2015 · 8 comments

Comments

@scarr
Copy link

scarr commented Mar 4, 2015

In order to draw a network graph with edges coming originating on a certain point on a node or terminating on a certain point on a node, would it be possible to put x/y offsets on either side of the edge i.e. in order to originate the edge from the top or bottom of the node as per the attached image.
screenshot_030415_104045_am

@AlexDM0
Copy link
Contributor

AlexDM0 commented Mar 4, 2015

Hi,

This is not possible, nor do I think this will be added to the network. The reason for this is twofold. Firstly I really don't see this working for all orientations of a node since vertical and horizontal lose meaning when rotating around. Secondly, there usually is a better way to do this. You could for instance add some transparent space at the top of your icons?

Regards,

Alex

@scarr
Copy link
Author

scarr commented Mar 4, 2015

Yes, That might work, but unlikely for multiple edges originating or terminating in a single node. I have used hidden nodes in order to achieve it in the image shown, not ideal.
That's a pity. It would be nice to be able to create static network graphs as per something like Cacti Network WeatherMaps.

@AlexDM0
Copy link
Contributor

AlexDM0 commented Mar 4, 2015

Hi,

Could you explain to me how this would work if your edges are not 100% horizontal? Sure, in this case an offset would work, but if you pivot the entire thing by say 10 degrees? You'd need a reference frame and transform all coordinates. I'm afraid this is a bit too specific a usecase to taylor to.

On a good note though, in 4.0 you can easily draw on the canvas before or after the network is done drawing. That means you can just show your 'invisible nodes' and paint the larger object over it manually.

Regards,

Alex

@AlexDM0
Copy link
Contributor

AlexDM0 commented Mar 4, 2015

Finally, it could be nice (after 4.0) to introduce a superclass node, that would have multiple 'connection points'.

@scarr
Copy link
Author

scarr commented Mar 4, 2015

Yes. That would be ideal. I am trying in the example above to create a static logical map, say for example of some nodes in a telecoms network. My nodes are set to "Not allowed to move" and are positioned at specific x any y co-ordinates on the canvas.

@AlexDM0
Copy link
Contributor

AlexDM0 commented Mar 5, 2015

Hi Scarr,

I'll add this as a feature request.

Regards,

Alex

Edit: to clarify, we list the feature requests on our website and close the issue to keep our issues here clean and for bugs.

@AlexDM0 AlexDM0 closed this as completed Mar 5, 2015
@AlexDM0 AlexDM0 changed the title X/Y Offsets for Edges Enhancement: Nodetype with multiple connections (after 4.0) Mar 5, 2015
@mojoaxel mojoaxel changed the title Enhancement: Nodetype with multiple connections (after 4.0) New type of node: Supernode. The supernode could have multiple connection subnodes. Oct 24, 2016
@mojoaxel mojoaxel removed the Question label Oct 24, 2016
@mojoaxel
Copy link
Member

Reopening as Feature-Request issue (see #2114).
Everybody: Please feel free to implement this!

@wimrijnders
Copy link
Contributor

Closed due to inactivity. Feel free to reopen if this is still relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants