nomnoml icon indicating copy to clipboard operation
nomnoml copied to clipboard

layout issue

Open jcayzac opened this issue 2 years ago • 9 comments

See the problem here under Sony Wallet:

image

Source code:

#background: #fff
#edges: rounded
#gravity: 1
#direction: right
#ranker: longest-path

#.bank: title=bold fill=#ff06
[<bank> BOY]
[<bank> Shinsei]
[<bank> Sony]
[<bank> Seven]

#.card: fill=#ccaa visual=table title=bold body=left
[<card> BOY Card|VISA Credit 🏧]
[<card> Rakuten Card|VISA Credit|Rakuten Points]
[<card> Sony Wallet|🏧VISA Debit|0.5% cashback]
[<card> Seven Card|🏧JCB Debit|Nanaco]
[<card> PayPay Card|🏧VISA Credit|PayPay Points]
[<card> Revolut Card|VISA Debit]

#.app: fill=#8cca title=bold
[<app> Revolut]
[<app> Binance]
[<app> FTX JP]
[<app> XUMM]
[<app> PayPay]
[<app> RPay]

[BOY](o-[BOY Card]
[Shinsei](o-[Rakuten Card]
[Sony](o-[Sony Wallet]
[PayPay](o-[PayPay Card]
[Seven](o-[PayPay]
[Seven](o-[Seven Card]
[Rakuten Card](o-[RPay]
[Sony Wallet](o-⚠️max out 50万円/month[Revolut]
[Revolut](o-[Revolut Card]

[<actor> Salary]

[Salary]->[BOY]
[BOY]-⏱monthly[<hidden> automatic_boy]
[automatic_boy]->[Shinsei]
[automatic_boy]->[Sony]
[automatic_boy]->[Seven]

[Revolut]-->[Shinsei]
#.ibkrin: visual=none
[Revolut]-[<ibkrin> ACH Routing;(free)]
[ACH Routing]->[Interactive Brokers LLC]
#.hsbcin: visual=none
[Revolut]-[<hsbcin>SWIFT;(free)]
[SWIFT]->[HSBC France]

[Binance]--[<label> Withdrawals:;SWIFT ($15)]
[Interactive Brokers LLC]--[Withdrawals:;SWIFT ($15)]

[Shinsei]->free[FTX JP]
[FTX JP]free ->XRP[XUMM]
[XUMM]0.000015% ->XRP[Binance]

jcayzac avatar Aug 04 '22 04:08 jcayzac

image This is result for GraphicsSvg. The reason is the short color notation. e.g. fill=#ccaa

bdlabs avatar Feb 18 '23 12:02 bdlabs

I fixed bug. #194 image

bdlabs avatar Feb 18 '23 13:02 bdlabs

Excellent, I will have a look at your PR.

skanaar avatar Feb 20 '23 07:02 skanaar

@bdlabs which SVG viewer are you using that gives you the diagram with black boxes? Because I cannot reproduce that bug.

skanaar avatar Mar 06 '23 19:03 skanaar

Hi, @skanaar, I just checked, I have this problem in preview in phpstrom editor. image

bdlabs avatar Mar 18 '23 19:03 bdlabs

OK! I can reproduce it in other JetBrains products. Wonder what SVG renderer they are using?

skanaar avatar Mar 19 '23 15:03 skanaar

Sorry. I haven't idea.

bdlabs avatar Mar 21 '23 11:03 bdlabs

Hi @skanaar @bdlabs, Sorry, I'm a bit confused as to why @bdlabs hijacked my layout bug report with an unrelated color issue.

jcayzac avatar May 13 '23 10:05 jcayzac

@jcayzac not sure what happened here really. Your issue with association labels is still a problem.

skanaar avatar May 21 '23 16:05 skanaar