with
-----------------------------
[Component] -left-> left
[Component] -right-> right
[Component] -up-> up
[Component] -down-> down
-----------------------------
we got the diagram as we wish
but if we put the "component" into a "node"
-----------------------------
node {
[Component]
}
[Component] -left-> left
[Component] -right-> right
[Component] -up-> up
[Component] -down-> down
-----------------------------
then we'll get a diagram totally different
How can I generate a component diagram with proper arrow direction with "node"?